toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (category != null) 'category': category!,
      if (distributions != null) 'distributions': distributions!,
      if (formFactor != null) 'formFactor': formFactor!,
      if (median != null) 'median': median!,
      if (metricId != null) 'metricId': metricId!,
      if (percentile != null) 'percentile': percentile!,
    };