AvcIntraSettings.fromJson constructor

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

Implementation

factory AvcIntraSettings.fromJson(Map<String, dynamic> json) {
  return AvcIntraSettings(
    avcIntraClass: (json['avcIntraClass'] as String?)?.toAvcIntraClass(),
    framerateControl:
        (json['framerateControl'] as String?)?.toAvcIntraFramerateControl(),
    framerateConversionAlgorithm:
        (json['framerateConversionAlgorithm'] as String?)
            ?.toAvcIntraFramerateConversionAlgorithm(),
    framerateDenominator: json['framerateDenominator'] as int?,
    framerateNumerator: json['framerateNumerator'] as int?,
    interlaceMode:
        (json['interlaceMode'] as String?)?.toAvcIntraInterlaceMode(),
    slowPal: (json['slowPal'] as String?)?.toAvcIntraSlowPal(),
    telecine: (json['telecine'] as String?)?.toAvcIntraTelecine(),
  );
}