getPlayerState method

Future<PlayerStateSnapshot?> getPlayerState({
  1. String? playerId,
})

If playerId is null, this returns the primary player's state.

Implementation

Future<PlayerStateSnapshot?> getPlayerState({String? playerId}) async {
  throw UnimplementedError('getPlayerState() has not been implemented.');
}