DateRangeValues.fromJson constructor

DateRangeValues.fromJson(
  1. Map json_
)

Implementation

DateRangeValues.fromJson(core.Map json_)
    : this(
        pivotValueRegions: json_.containsKey('pivotValueRegions')
            ? (json_['pivotValueRegions'] as core.List)
                .map((value) => PivotValueRegion.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        values: json_.containsKey('values')
            ? (json_['values'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );