toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (allowOpenGop != null) 'allowOpenGop': allowOpenGop!,
  if (aqStrength != null) 'aqStrength': aqStrength!,
  if (bFrameCount != null) 'bFrameCount': bFrameCount!,
  if (bPyramid != null) 'bPyramid': bPyramid!,
  if (bitrateBps != null) 'bitrateBps': bitrateBps!,
  if (crfLevel != null) 'crfLevel': crfLevel!,
  if (enableTwoPass != null) 'enableTwoPass': enableTwoPass!,
  if (frameRate != null) 'frameRate': frameRate!,
  if (frameRateConversionStrategy != null)
    'frameRateConversionStrategy': frameRateConversionStrategy!,
  if (gopDuration != null) 'gopDuration': gopDuration!,
  if (gopFrameCount != null) 'gopFrameCount': gopFrameCount!,
  if (hdr10 != null) 'hdr10': hdr10!,
  if (heightPixels != null) 'heightPixels': heightPixels!,
  if (hlg != null) 'hlg': hlg!,
  if (pixelFormat != null) 'pixelFormat': pixelFormat!,
  if (preset != null) 'preset': preset!,
  if (profile != null) 'profile': profile!,
  if (rateControlMode != null) 'rateControlMode': rateControlMode!,
  if (sdr != null) 'sdr': sdr!,
  if (tune != null) 'tune': tune!,
  if (vbvFullnessBits != null) 'vbvFullnessBits': vbvFullnessBits!,
  if (vbvSizeBits != null) 'vbvSizeBits': vbvSizeBits!,
  if (widthPixels != null) 'widthPixels': widthPixels!,
};