toMap method

Map<String, dynamic> toMap()

Encodes TournamentTeamResults object to json map

Implementation

Map<String, dynamic> toMap() => {
      'idteam': idTeam == null ? null : idTeam,
      'current_name': currentName == null ? null : currentName,
      'base_name': baseName == null ? null : baseName,
      'position': position == null ? null : position,
      'questions_total': questionsTotal == null ? null : questionsTotal,
      'mask': mask == null ? null : mask,
      'tech_rating_rt': techRatingRt == null ? null : techRatingRt,
      'tech_rating_rg': techRatingRg == null ? null : techRatingRg,
      'tech_rating_rb': techRatingRb == null ? null : techRatingRb,
      'rating_r': ratingR == null ? null : ratingR,
      'predicted_position':
          predictedPosition == null ? null : predictedPosition,
      'bonus_b': bonusB == null ? null : bonusB,
      'diff_bonus': diffBonus == null ? null : diffBonus,
      'included_in_rating':
          includedInRating == null ? null : includedInRating,
    };