toJson method

  1. @override
Object toJson()
override

Implementation

@override
Object toJson() => {
  if (skewThresholds.isNotDefault)
    'skewThresholds': encodeMap(skewThresholds),
  if (attributionScoreSkewThresholds.isNotDefault)
    'attributionScoreSkewThresholds': encodeMap(
      attributionScoreSkewThresholds,
    ),
  if (defaultSkewThreshold != null)
    'defaultSkewThreshold': defaultSkewThreshold!.toJson(),
};