InputCaptions.fromJson constructor
Implementation
factory InputCaptions.fromJson(Map<String, dynamic> json) {
return InputCaptions(
captionSources: (json['CaptionSources'] as List?)
?.whereNotNull()
.map((e) => CaptionSource.fromJson(e as Map<String, dynamic>))
.toList(),
mergePolicy: json['MergePolicy'] as String?,
);
}