identify method

void identify(
  1. String distinctId
)

Sets the distinct ID.

By default, a random UUID will be used to identify a user. You can change the distinct ID by calling identify. identify DO NOT upload any data to TA server.

Implementation

void identify(String distinctId) {
  _channel.invokeMethod<void>('identify',
      <String, dynamic>{'distinctId': distinctId, 'appId': this._appId});
}