toJson method
Implementation
Map<String, dynamic> toJson() {
final captionChannel = this.captionChannel;
final customLanguageCode = this.customLanguageCode;
final languageCode = this.languageCode;
final languageDescription = this.languageDescription;
return {
if (captionChannel != null) 'captionChannel': captionChannel,
if (customLanguageCode != null) 'customLanguageCode': customLanguageCode,
if (languageCode != null) 'languageCode': languageCode.toValue(),
if (languageDescription != null)
'languageDescription': languageDescription,
};
}