getPlayer method

Channel? getPlayer(
  1. Channel channel
)

Implementation

Channel? getPlayer(Channel channel) {
  for (final entry in _playerChannels.entries) {
    if (entry.value == channel) {
      return entry.key;
    }
  }
  return null;
}