toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var matches = this.matches;

  final json = <String, Object?>{};
  json[r'matches'] = matches.map((i) => i.toJson()).toList();
  return json;
}