BatchUpdateDocumentResponse.fromJson constructor

BatchUpdateDocumentResponse.fromJson(
  1. Map json_
)

Implementation

BatchUpdateDocumentResponse.fromJson(core.Map json_)
  : this(
      documentId: json_['documentId'] as core.String?,
      replies:
          (json_['replies'] as core.List?)
              ?.map(
                (value) => Response.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
              )
              .toList(),
      writeControl:
          json_.containsKey('writeControl')
              ? WriteControl.fromJson(
                json_['writeControl'] as core.Map<core.String, core.dynamic>,
              )
              : null,
    );