PivotFilterSpec.fromJson constructor

PivotFilterSpec.fromJson(
  1. Map json_
)

Implementation

PivotFilterSpec.fromJson(core.Map json_)
    : this(
        columnOffsetIndex: json_.containsKey('columnOffsetIndex')
            ? json_['columnOffsetIndex'] as core.int
            : null,
        dataSourceColumnReference:
            json_.containsKey('dataSourceColumnReference')
                ? DataSourceColumnReference.fromJson(
                    json_['dataSourceColumnReference']
                        as core.Map<core.String, core.dynamic>)
                : null,
        filterCriteria: json_.containsKey('filterCriteria')
            ? PivotFilterCriteria.fromJson(json_['filterCriteria']
                as core.Map<core.String, core.dynamic>)
            : null,
      );