Get the current user Id.
final userId = await amplitude.getUserId();
Future<String?> getUserId() async { return await _channel.invokeMethod( 'getUserId', {'instanceName': configuration.instanceName}); }