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,
      );