getPlayerName method

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

Get the player name. On iOS the player alias is the name of the player.

Implementation

@override
Future<String?> getPlayerName() async {
  return await _channel.invokeMethod("getPlayerName");
}