PivotGroupSortValueBucket.fromJson constructor

PivotGroupSortValueBucket.fromJson(
  1. Map json_
)

Implementation

PivotGroupSortValueBucket.fromJson(core.Map json_)
    : this(
        buckets: json_.containsKey('buckets')
            ? (json_['buckets'] as core.List)
                .map((value) => ExtendedValue.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        valuesIndex: json_.containsKey('valuesIndex')
            ? json_['valuesIndex'] as core.int
            : null,
      );