toJson method

Map<String, Object> toJson()

JSON form; fillColor is written as "#RRGGBB".

Implementation

Map<String, Object> toJson() => {
  'blurSigma': blurSigma,
  'blurSizeRef': blurSizeRef,
  'frostWideSigma': frostWideSigma,
  'frostWideMixEdge': frostWideMixEdge,
  'frostWideMixCentre': frostWideMixCentre,
  'frostWideSizeRef': frostWideSizeRef,
  'frostWideSizeDrop': frostWideSizeDrop,
  'toneKnots': toneKnots,
  'smallToneKnots': smallToneKnots,
  'smallSizeLo': smallSizeLo,
  'smallSizeHi': smallSizeHi,
  'postJacobianMax': postJacobianMax,
  'ambientMix': ambientMix,
  'ambientReach': ambientReach,
  'toneLumaMix': toneLumaMix,
  'glowStrength': glowStrength,
  'postBlurShare': postBlurShare,
  'normalRadiusScale': normalRadiusScale,
  'lensEdge': lensEdge,
  'lensEdgeDecay': lensEdgeDecay,
  'rimMix': rimMix,
  'rimMixWidth': rimMixWidth,
  'rimMixCut': rimMixCut,
  'rimMixLumaFloor': rimMixLumaFloor,
  'toneLift': toneLift,
  'blurAspectPower': blurAspectPower,
  'rimBack': rimBack,
  'lensVertical': lensVertical,
  'rimTint': rimTint,
  'rimHue': rimHue,
  'toneLiftKnee': toneLiftKnee,
  'toneLiftSizeRef': toneLiftSizeRef,
  'lensBand': lensBand,
  'lensStrength': lensStrength,
  'lensDecay': lensDecay,
  'lensSizeRef': lensSizeRef,
  'dispersion': dispersion,
  'rimWidth': rimWidth,
  'rimIntensity': rimIntensity,
  'fillColor': GlassJson.hex(fillColor),
  'fillOpacity': fillOpacity,
  'fillSizeRef': fillSizeRef,
  'fillSizeDrop': fillSizeDrop,
  'saturation': saturation,
  'dim': dim,
  'shadowRadius': shadowRadius,
  'shadowOpacity': shadowOpacity,
  'tintStrength': tintStrength,
};