toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final adaptiveQuantization = this.adaptiveQuantization;
  final afdSignaling = this.afdSignaling;
  final bitrate = this.bitrate;
  final bufFillPct = this.bufFillPct;
  final bufSize = this.bufSize;
  final colorMetadata = this.colorMetadata;
  final colorSpaceSettings = this.colorSpaceSettings;
  final entropyEncoding = this.entropyEncoding;
  final filterSettings = this.filterSettings;
  final fixedAfd = this.fixedAfd;
  final flickerAq = this.flickerAq;
  final forceFieldPictures = this.forceFieldPictures;
  final framerateControl = this.framerateControl;
  final framerateDenominator = this.framerateDenominator;
  final framerateNumerator = this.framerateNumerator;
  final gopBReference = this.gopBReference;
  final gopClosedCadence = this.gopClosedCadence;
  final gopNumBFrames = this.gopNumBFrames;
  final gopSize = this.gopSize;
  final gopSizeUnits = this.gopSizeUnits;
  final level = this.level;
  final lookAheadRateControl = this.lookAheadRateControl;
  final maxBitrate = this.maxBitrate;
  final minIInterval = this.minIInterval;
  final numRefFrames = this.numRefFrames;
  final parControl = this.parControl;
  final parDenominator = this.parDenominator;
  final parNumerator = this.parNumerator;
  final profile = this.profile;
  final qualityLevel = this.qualityLevel;
  final qvbrQualityLevel = this.qvbrQualityLevel;
  final rateControlMode = this.rateControlMode;
  final scanType = this.scanType;
  final sceneChangeDetect = this.sceneChangeDetect;
  final slices = this.slices;
  final softness = this.softness;
  final spatialAq = this.spatialAq;
  final subgopLength = this.subgopLength;
  final syntax = this.syntax;
  final temporalAq = this.temporalAq;
  final timecodeInsertion = this.timecodeInsertion;
  return {
    if (adaptiveQuantization != null)
      'adaptiveQuantization': adaptiveQuantization.toValue(),
    if (afdSignaling != null) 'afdSignaling': afdSignaling.toValue(),
    if (bitrate != null) 'bitrate': bitrate,
    if (bufFillPct != null) 'bufFillPct': bufFillPct,
    if (bufSize != null) 'bufSize': bufSize,
    if (colorMetadata != null) 'colorMetadata': colorMetadata.toValue(),
    if (colorSpaceSettings != null) 'colorSpaceSettings': colorSpaceSettings,
    if (entropyEncoding != null) 'entropyEncoding': entropyEncoding.toValue(),
    if (filterSettings != null) 'filterSettings': filterSettings,
    if (fixedAfd != null) 'fixedAfd': fixedAfd.toValue(),
    if (flickerAq != null) 'flickerAq': flickerAq.toValue(),
    if (forceFieldPictures != null)
      'forceFieldPictures': forceFieldPictures.toValue(),
    if (framerateControl != null)
      'framerateControl': framerateControl.toValue(),
    if (framerateDenominator != null)
      'framerateDenominator': framerateDenominator,
    if (framerateNumerator != null) 'framerateNumerator': framerateNumerator,
    if (gopBReference != null) 'gopBReference': gopBReference.toValue(),
    if (gopClosedCadence != null) 'gopClosedCadence': gopClosedCadence,
    if (gopNumBFrames != null) 'gopNumBFrames': gopNumBFrames,
    if (gopSize != null) 'gopSize': gopSize,
    if (gopSizeUnits != null) 'gopSizeUnits': gopSizeUnits.toValue(),
    if (level != null) 'level': level.toValue(),
    if (lookAheadRateControl != null)
      'lookAheadRateControl': lookAheadRateControl.toValue(),
    if (maxBitrate != null) 'maxBitrate': maxBitrate,
    if (minIInterval != null) 'minIInterval': minIInterval,
    if (numRefFrames != null) 'numRefFrames': numRefFrames,
    if (parControl != null) 'parControl': parControl.toValue(),
    if (parDenominator != null) 'parDenominator': parDenominator,
    if (parNumerator != null) 'parNumerator': parNumerator,
    if (profile != null) 'profile': profile.toValue(),
    if (qualityLevel != null) 'qualityLevel': qualityLevel.toValue(),
    if (qvbrQualityLevel != null) 'qvbrQualityLevel': qvbrQualityLevel,
    if (rateControlMode != null) 'rateControlMode': rateControlMode.toValue(),
    if (scanType != null) 'scanType': scanType.toValue(),
    if (sceneChangeDetect != null)
      'sceneChangeDetect': sceneChangeDetect.toValue(),
    if (slices != null) 'slices': slices,
    if (softness != null) 'softness': softness,
    if (spatialAq != null) 'spatialAq': spatialAq.toValue(),
    if (subgopLength != null) 'subgopLength': subgopLength.toValue(),
    if (syntax != null) 'syntax': syntax.toValue(),
    if (temporalAq != null) 'temporalAq': temporalAq.toValue(),
    if (timecodeInsertion != null)
      'timecodeInsertion': timecodeInsertion.toValue(),
  };
}