getChannel method

Channel? getChannel(
  1. Channel player
)

Gets the channel ID for a player ID if present in the room.

Implementation

Channel? getChannel(Channel player) => _playerChannels[player];