TeamTournament.fromMap constructor
Decodes TeamTournament object from json map
Implementation
factory TeamTournament.fromMap(Map<String, dynamic> json) => TeamTournament(
idTeam: json['idteam'] == null ? null : json['idteam'],
idSeason: json['idseason'] == null ? null : json['idseason'],
tournaments: json['tournaments'] == null
? null
: List<String>.from(json['tournaments'].map((x) => x)),
);