getPlayerId method

Future<String?> getPlayerId()

Get the player id. On iOS the player id is unique for your game but not other games.

Implementation

Future<String?> getPlayerId() async {
  return await FirebaseGameServices.platform.getPlayerID();
}