Vc3Settings.fromJson constructor

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

Implementation

factory Vc3Settings.fromJson(Map<String, dynamic> json) {
  return Vc3Settings(
    framerateControl:
        (json['framerateControl'] as String?)?.toVc3FramerateControl(),
    framerateConversionAlgorithm:
        (json['framerateConversionAlgorithm'] as String?)
            ?.toVc3FramerateConversionAlgorithm(),
    framerateDenominator: json['framerateDenominator'] as int?,
    framerateNumerator: json['framerateNumerator'] as int?,
    interlaceMode: (json['interlaceMode'] as String?)?.toVc3InterlaceMode(),
    slowPal: (json['slowPal'] as String?)?.toVc3SlowPal(),
    telecine: (json['telecine'] as String?)?.toVc3Telecine(),
    vc3Class: (json['vc3Class'] as String?)?.toVc3Class(),
  );
}