SpreadsheetProperties.fromJson constructor

SpreadsheetProperties.fromJson(
  1. Map json_
)

Implementation

SpreadsheetProperties.fromJson(core.Map json_)
    : this(
        autoRecalc: json_.containsKey('autoRecalc')
            ? json_['autoRecalc'] as core.String
            : null,
        defaultFormat: json_.containsKey('defaultFormat')
            ? CellFormat.fromJson(
                json_['defaultFormat'] as core.Map<core.String, core.dynamic>)
            : null,
        importFunctionsExternalUrlAccessAllowed: json_
                .containsKey('importFunctionsExternalUrlAccessAllowed')
            ? json_['importFunctionsExternalUrlAccessAllowed'] as core.bool
            : null,
        iterativeCalculationSettings:
            json_.containsKey('iterativeCalculationSettings')
                ? IterativeCalculationSettings.fromJson(
                    json_['iterativeCalculationSettings']
                        as core.Map<core.String, core.dynamic>)
                : null,
        locale: json_.containsKey('locale')
            ? json_['locale'] as core.String
            : null,
        spreadsheetTheme: json_.containsKey('spreadsheetTheme')
            ? SpreadsheetTheme.fromJson(json_['spreadsheetTheme']
                as core.Map<core.String, core.dynamic>)
            : null,
        timeZone: json_.containsKey('timeZone')
            ? json_['timeZone'] as core.String
            : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
      );