toMap method

Map<String, dynamic> toMap()

Encodes PlayerTournament object to json map

Implementation

Map<String, dynamic> toMap() => {
      'idtournament': idTournament,
      'idteam': idTeam == null ? null : idTeam,
      'in_base_team': inBaseTeam == null ? null : inBaseTeam,
    };