ReportSummaryChartData.fromJson constructor

ReportSummaryChartData.fromJson(
  1. Map json_
)

Implementation

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