PivotHeader.fromJson constructor

PivotHeader.fromJson(
  1. Map _json
)

Implementation

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