setUserID method

Future<void> setUserID(
  1. String id
)

Sets a user id to associate with all app events. This can be used to associate your own user id with the app events logged from this instance of an application. The user ID will be persisted between application instances.

Implementation

Future<void> setUserID(String id) {
  return _channel.invokeMethod<void>('setUserID', id);
}