PivotValue.fromJson constructor

PivotValue.fromJson(
  1. Map json_
)

Implementation

PivotValue.fromJson(core.Map json_)
    : this(
        calculatedDisplayType: json_.containsKey('calculatedDisplayType')
            ? json_['calculatedDisplayType'] as core.String
            : null,
        dataSourceColumnReference:
            json_.containsKey('dataSourceColumnReference')
                ? DataSourceColumnReference.fromJson(
                    json_['dataSourceColumnReference']
                        as core.Map<core.String, core.dynamic>)
                : null,
        formula: json_.containsKey('formula')
            ? json_['formula'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        sourceColumnOffset: json_.containsKey('sourceColumnOffset')
            ? json_['sourceColumnOffset'] as core.int
            : null,
        summarizeFunction: json_.containsKey('summarizeFunction')
            ? json_['summarizeFunction'] as core.String
            : null,
      );