toMap method
Encodes TournamentTeamPlayer object to json map
Implementation
Map<String, dynamic> toMap() => {
'idplayer': idPlayer == null ? null : idPlayer,
'is_captain': isCaptain == null ? null : isCaptain,
'is_base': isBase == null ? null : isBase,
'is_foreign': isForeign == null ? null : isForeign,
};