setUserIdentifier static method

Future<void> setUserIdentifier(
  1. String key, [
  2. Object? map
])

Identifies current user - each user should have unique id

Implementation

static Future<void> setUserIdentifier(String key, [Object? map]) async {
  await _channel.invokeMethod('setUserIdentifier', {"key": key, "map": map});
}