toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (trackId != null) {
_json[r'TrackId'] = trackId;
} else {
_json[r'TrackId'] = null;
}
if (track != null) {
_json[r'Track'] = track;
} else {
_json[r'Track'] = null;
}
if (selectionId != null) {
_json[r'SelectionId'] = selectionId;
} else {
_json[r'SelectionId'] = null;
}
if (selection != null) {
_json[r'Selection'] = selection;
} else {
_json[r'Selection'] = null;
}
if (index != null) {
_json[r'Index'] = index;
} else {
_json[r'Index'] = null;
}
return _json;
}