getTeam method

String? getTeam(
  1. String player
)

Returns the team of player.

Implementation

String? getTeam(String player) => _teamByPlayer[player];