Output.fromJson constructor
Implementation
factory Output.fromJson(Map<String, dynamic> json) {
return Output(
outputSettings: OutputSettings.fromJson(
json['outputSettings'] as Map<String, dynamic>),
audioDescriptionNames: (json['audioDescriptionNames'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
captionDescriptionNames: (json['captionDescriptionNames'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
outputName: json['outputName'] as String?,
videoDescriptionName: json['videoDescriptionName'] as String?,
);
}