CreateSheetsChartRequest.fromJson constructor

CreateSheetsChartRequest.fromJson(
  1. Map json_
)

Implementation

CreateSheetsChartRequest.fromJson(core.Map json_)
    : this(
        chartId: json_.containsKey('chartId')
            ? json_['chartId'] as core.int
            : null,
        elementProperties: json_.containsKey('elementProperties')
            ? PageElementProperties.fromJson(json_['elementProperties']
                as core.Map<core.String, core.dynamic>)
            : null,
        linkingMode: json_.containsKey('linkingMode')
            ? json_['linkingMode'] as core.String
            : null,
        objectId: json_.containsKey('objectId')
            ? json_['objectId'] as core.String
            : null,
        spreadsheetId: json_.containsKey('spreadsheetId')
            ? json_['spreadsheetId'] as core.String
            : null,
      );