toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (brightness != null) 'brightness': brightness!,
      if (contrast != null) 'contrast': contrast!,
      if (saturation != null) 'saturation': saturation!,
    };