toMap method

Map<String, dynamic> toMap()

Encodes TeamTournament object from json map

Implementation

Map<String, dynamic> toMap() => {
      'idteam': idTeam == null ? null : idTeam,
      'idseason': idSeason == null ? null : idSeason,
      'tournaments': tournaments == null ? null : tournaments,
    };