OutputFormatConfig.fromJson constructor

OutputFormatConfig.fromJson(
  1. Map json_
)

Implementation

OutputFormatConfig.fromJson(core.Map json_)
    : this(
        native: json_.containsKey('native')
            ? NativeOutputFileFormatConfig.fromJson(
                json_['native'] as core.Map<core.String, core.dynamic>)
            : null,
        srt: json_.containsKey('srt')
            ? SrtOutputFileFormatConfig.fromJson(
                json_['srt'] as core.Map<core.String, core.dynamic>)
            : null,
        vtt: json_.containsKey('vtt')
            ? VttOutputFileFormatConfig.fromJson(
                json_['vtt'] as core.Map<core.String, core.dynamic>)
            : null,
      );