timeEvent method
Starts the timer for the given eventName
.
When you track an event with name eventName
, a property #duration
will be put in the event properties.
Implementation
void timeEvent(String eventName) {
_channel.invokeMethod('timeEvent',
<String, dynamic>{'eventName': eventName, 'appId': this._appId});
}