ProresSettings.fromJson constructor

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

Implementation

factory ProresSettings.fromJson(Map<String, dynamic> json) {
  return ProresSettings(
    codecProfile: (json['codecProfile'] as String?)?.toProresCodecProfile(),
    framerateControl:
        (json['framerateControl'] as String?)?.toProresFramerateControl(),
    framerateConversionAlgorithm:
        (json['framerateConversionAlgorithm'] as String?)
            ?.toProresFramerateConversionAlgorithm(),
    framerateDenominator: json['framerateDenominator'] as int?,
    framerateNumerator: json['framerateNumerator'] as int?,
    interlaceMode:
        (json['interlaceMode'] as String?)?.toProresInterlaceMode(),
    parControl: (json['parControl'] as String?)?.toProresParControl(),
    parDenominator: json['parDenominator'] as int?,
    parNumerator: json['parNumerator'] as int?,
    slowPal: (json['slowPal'] as String?)?.toProresSlowPal(),
    telecine: (json['telecine'] as String?)?.toProresTelecine(),
  );
}