toJson method

String toJson()

Encodes TournamentTeam object to json string

Implementation

String toJson() => json.encode(toMap());