BatchUpdateDocumentRequest.fromJson constructor

BatchUpdateDocumentRequest.fromJson(
  1. Map json_
)

Implementation

BatchUpdateDocumentRequest.fromJson(core.Map json_)
    : this(
        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,
      );