EmbeddedSourceSettings.fromJson constructor

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

Implementation

factory EmbeddedSourceSettings.fromJson(Map<String, dynamic> json) {
  return EmbeddedSourceSettings(
    convert608To708:
        (json['convert608To708'] as String?)?.toEmbeddedConvert608To708(),
    source608ChannelNumber: json['source608ChannelNumber'] as int?,
    source608TrackNumber: json['source608TrackNumber'] as int?,
    terminateCaptions:
        (json['terminateCaptions'] as String?)?.toEmbeddedTerminateCaptions(),
  );
}