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 (codec != null) 'codec': codec!,
      if (crfLevel != null) 'crfLevel': crfLevel!,
      if (enableTwoPass != null) 'enableTwoPass': enableTwoPass!,
      if (entropyCoder != null) 'entropyCoder': entropyCoder!,
      if (frameRate != null) 'frameRate': frameRate!,
      if (gopDuration != null) 'gopDuration': gopDuration!,
      if (gopFrameCount != null) 'gopFrameCount': gopFrameCount!,
      if (heightPixels != null) 'heightPixels': heightPixels!,
      if (pixelFormat != null) 'pixelFormat': pixelFormat!,
      if (preset != null) 'preset': preset!,
      if (profile != null) 'profile': profile!,
      if (rateControlMode != null) 'rateControlMode': rateControlMode!,
      if (tune != null) 'tune': tune!,
      if (vbvFullnessBits != null) 'vbvFullnessBits': vbvFullnessBits!,
      if (vbvSizeBits != null) 'vbvSizeBits': vbvSizeBits!,
      if (widthPixels != null) 'widthPixels': widthPixels!,
    };