toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  "sport1": sport1,
  "sport2": sport2,
  "sport3": sport3,
};