userId property

Future<String?> get userId

Implementation

static Future<String?> get userId async {
  if (!isSupportedPlatform) return null;

  return await _channel.invokeMethod('getUserId');
}