toMap method

Map<String, dynamic> toMap()

Encodes PlayerTournamentResponse object to json map

Implementation

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