trackEvent method
Tracks an event, this function saves the event in the DB, it'll be sent when _checkQueue()
is invoked by the timer.
@param event The event to track.
Implementation
Future<void> trackEvent(MBAutomationEvent event) {
return _saveEventInDb(event);
}