toJson method

String toJson()

Encodes TournamentDetails object from to string

Implementation

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