DataFilterValueRange.fromJson constructor

DataFilterValueRange.fromJson(
  1. Map json_
)

Implementation

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