DataSourceObjectReference.fromJson constructor

DataSourceObjectReference.fromJson(
  1. Map json_
)

Implementation

DataSourceObjectReference.fromJson(core.Map json_)
  : this(
      chartId: json_['chartId'] as core.int?,
      dataSourceFormulaCell: json_.containsKey('dataSourceFormulaCell')
          ? GridCoordinate.fromJson(
              json_['dataSourceFormulaCell']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      dataSourcePivotTableAnchorCell:
          json_.containsKey('dataSourcePivotTableAnchorCell')
          ? GridCoordinate.fromJson(
              json_['dataSourcePivotTableAnchorCell']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      dataSourceTableAnchorCell:
          json_.containsKey('dataSourceTableAnchorCell')
          ? GridCoordinate.fromJson(
              json_['dataSourceTableAnchorCell']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      sheetId: json_['sheetId'] as core.String?,
    );