toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final postFilterSharpenStrength = this.postFilterSharpenStrength;
  final speed = this.speed;
  final strength = this.strength;
  return {
    if (postFilterSharpenStrength != null)
      'postFilterSharpenStrength': postFilterSharpenStrength,
    if (speed != null) 'speed': speed,
    if (strength != null) 'strength': strength,
  };
}