PivotDimensionHeader.fromJson constructor

PivotDimensionHeader.fromJson(
  1. Map _json
)

Implementation

PivotDimensionHeader.fromJson(core.Map _json)
    : this(
        dimensionValues: _json.containsKey('dimensionValues')
            ? (_json['dimensionValues'] as core.List)
                .map<DimensionValue>((value) => DimensionValue.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );