BatchUpdateFormRequest.fromJson constructor

BatchUpdateFormRequest.fromJson(
  1. Map json_
)

Implementation

BatchUpdateFormRequest.fromJson(core.Map json_)
    : this(
        includeFormInResponse: json_.containsKey('includeFormInResponse')
            ? json_['includeFormInResponse'] as core.bool
            : null,
        requests: json_.containsKey('requests')
            ? (json_['requests'] as core.List)
                .map((value) => Request.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        writeControl: json_.containsKey('writeControl')
            ? WriteControl.fromJson(
                json_['writeControl'] as core.Map<core.String, core.dynamic>)
            : null,
      );