PivotGroupRule.fromJson constructor

PivotGroupRule.fromJson(
  1. Map json_
)

Implementation

PivotGroupRule.fromJson(core.Map json_)
    : this(
        dateTimeRule: json_.containsKey('dateTimeRule')
            ? DateTimeRule.fromJson(
                json_['dateTimeRule'] as core.Map<core.String, core.dynamic>)
            : null,
        histogramRule: json_.containsKey('histogramRule')
            ? HistogramRule.fromJson(
                json_['histogramRule'] as core.Map<core.String, core.dynamic>)
            : null,
        manualRule: json_.containsKey('manualRule')
            ? ManualRule.fromJson(
                json_['manualRule'] as core.Map<core.String, core.dynamic>)
            : null,
      );