getTeamId method

  1. @override
Future<String?> getTeamId()
override

Retrieves the iOS Team ID by calling the native iOS implementation.

This method invokes the 'getTeamId' method on the native side through the method channel and returns the result.

Returns a Future that completes with the Team ID as a String, or null if the Team ID could not be retrieved.

Implementation

@override
Future<String?> getTeamId() async {
  final teamId = await methodChannel.invokeMethod<String>('getTeamId');
  return teamId;
}