ReportSummaryHistogramChartData.fromJson constructor

ReportSummaryHistogramChartData.fromJson(
  1. Map json_
)

Implementation

ReportSummaryHistogramChartData.fromJson(core.Map json_)
    : this(
        buckets: json_.containsKey('buckets')
            ? (json_['buckets'] as core.List)
                .map((value) =>
                    ReportSummaryHistogramChartDataBucket.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );