SheetsChart.fromJson constructor

SheetsChart.fromJson(
  1. Map json_
)

Implementation

SheetsChart.fromJson(core.Map json_)
    : this(
        chartId: json_.containsKey('chartId')
            ? json_['chartId'] as core.int
            : null,
        contentUrl: json_.containsKey('contentUrl')
            ? json_['contentUrl'] as core.String
            : null,
        sheetsChartProperties: json_.containsKey('sheetsChartProperties')
            ? SheetsChartProperties.fromJson(json_['sheetsChartProperties']
                as core.Map<core.String, core.dynamic>)
            : null,
        spreadsheetId: json_.containsKey('spreadsheetId')
            ? json_['spreadsheetId'] as core.String
            : null,
      );