toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (bitrateBps != null) 'bitrateBps': bitrateBps!,
      if (crfLevel != null) 'crfLevel': crfLevel!,
      if (frameRate != null) 'frameRate': frameRate!,
      if (frameRateConversionStrategy != null)
        'frameRateConversionStrategy': frameRateConversionStrategy!,
      if (gopDuration != null) 'gopDuration': gopDuration!,
      if (gopFrameCount != null) 'gopFrameCount': gopFrameCount!,
      if (heightPixels != null) 'heightPixels': heightPixels!,
      if (hlg != null) 'hlg': hlg!,
      if (pixelFormat != null) 'pixelFormat': pixelFormat!,
      if (profile != null) 'profile': profile!,
      if (rateControlMode != null) 'rateControlMode': rateControlMode!,
      if (sdr != null) 'sdr': sdr!,
      if (widthPixels != null) 'widthPixels': widthPixels!,
    };