Added a null check for callback and initialize it to an empty function.  The latest mixpanel js appears to call the callback without checking for null.
Added a null check for callback and initialize it to an empty function.  The latest mixpanel js appears to call the callback without checking for null.

zugaldia/dart-mixpanel,zugaldia/dart-mixpanel