ChartGroupRule.fromJson constructor

ChartGroupRule.fromJson(
  1. Map json_
)

Implementation

ChartGroupRule.fromJson(core.Map json_)
  : this(
      dateTimeRule: json_.containsKey('dateTimeRule')
          ? ChartDateTimeRule.fromJson(
              json_['dateTimeRule'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      histogramRule: json_.containsKey('histogramRule')
          ? ChartHistogramRule.fromJson(
              json_['histogramRule'] as core.Map<core.String, core.dynamic>,
            )
          : null,
    );