HistogramSeries.fromJson constructor

HistogramSeries.fromJson(
  1. Map json_
)

Implementation

HistogramSeries.fromJson(core.Map json_)
    : this(
        barColor: json_.containsKey('barColor')
            ? Color.fromJson(
                json_['barColor'] as core.Map<core.String, core.dynamic>)
            : null,
        barColorStyle: json_.containsKey('barColorStyle')
            ? ColorStyle.fromJson(
                json_['barColorStyle'] as core.Map<core.String, core.dynamic>)
            : null,
        data: json_.containsKey('data')
            ? ChartData.fromJson(
                json_['data'] as core.Map<core.String, core.dynamic>)
            : null,
      );