toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final framerateDenominator = this.framerateDenominator;
  final framerateNumerator = this.framerateNumerator;
  final maxCaptures = this.maxCaptures;
  final quality = this.quality;
  return {
    if (framerateDenominator != null)
      'framerateDenominator': framerateDenominator,
    if (framerateNumerator != null) 'framerateNumerator': framerateNumerator,
    if (maxCaptures != null) 'maxCaptures': maxCaptures,
    if (quality != null) 'quality': quality,
  };
}