getUserId method

Future<String?> getUserId()

Fetches the userId, a unique identifier for tracking a user. @returns the userId

Implementation

Future<String?> getUserId() async {
  return await _channel.invokeMethod(
      'getUserId', jsonEncode(_baseProperties()));
}