toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'by_track_type'] = this.byTrackType;
if (this.total != null) {
json[r'total'] = this.total;
} else {
json[r'total'] = null;
}
return json;
}