toJson method
Implementation
Map<String, dynamic> toJson() {
final audioGroupId = this.audioGroupId;
final audioOnlyImage = this.audioOnlyImage;
final audioTrackType = this.audioTrackType;
final segmentType = this.segmentType;
return {
if (audioGroupId != null) 'audioGroupId': audioGroupId,
if (audioOnlyImage != null) 'audioOnlyImage': audioOnlyImage,
if (audioTrackType != null) 'audioTrackType': audioTrackType.toValue(),
if (segmentType != null) 'segmentType': segmentType.toValue(),
};
}