TournamentTeamPlayer.fromMap constructor
Decodes TournamentTeamPlayer object from json map
Implementation
factory TournamentTeamPlayer.fromMap(Map<String, dynamic> json) =>
TournamentTeamPlayer(
idPlayer: json['idplayer'] == null ? null : json['idplayer'],
isCaptain: json['is_captain'] == null ? null : json['is_captain'],
isBase: json['is_base'] == null ? null : json['is_base'],
isForeign: json['is_foreign'] == null ? null : json['is_foreign'],
);