AncillarySourceSettings.fromJson constructor

AncillarySourceSettings.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory AncillarySourceSettings.fromJson(Map<String, dynamic> json) {
  return AncillarySourceSettings(
    convert608To708:
        (json['convert608To708'] as String?)?.toAncillaryConvert608To708(),
    sourceAncillaryChannelNumber:
        json['sourceAncillaryChannelNumber'] as int?,
    terminateCaptions: (json['terminateCaptions'] as String?)
        ?.toAncillaryTerminateCaptions(),
  );
}