BatchUpdateValuesRequest.fromJson constructor

BatchUpdateValuesRequest.fromJson(
  1. Map json_
)

Implementation

BatchUpdateValuesRequest.fromJson(core.Map json_)
    : this(
        data: json_.containsKey('data')
            ? (json_['data'] as core.List)
                .map((value) => ValueRange.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        includeValuesInResponse: json_.containsKey('includeValuesInResponse')
            ? json_['includeValuesInResponse'] as core.bool
            : null,
        responseDateTimeRenderOption:
            json_.containsKey('responseDateTimeRenderOption')
                ? json_['responseDateTimeRenderOption'] as core.String
                : null,
        responseValueRenderOption:
            json_.containsKey('responseValueRenderOption')
                ? json_['responseValueRenderOption'] as core.String
                : null,
        valueInputOption: json_.containsKey('valueInputOption')
            ? json_['valueInputOption'] as core.String
            : null,
      );