getDistinctId method Null safety
Returns the current distinct id of the user. This is either the id automatically generated by the library or the id that has been passed by a call to identify().
example of usage:
const distinctId = await mixpanel.getDistinctId();
return Future
Implementation
Future<String?> getDistinctId() {
return _channel.invokeMethod<String>('getDistinctId');
}