BatchUpdateDocumentResponse.fromJson constructor

BatchUpdateDocumentResponse.fromJson(
  1. Map json_
)

Implementation

BatchUpdateDocumentResponse.fromJson(core.Map json_)
    : this(
        documentId: json_.containsKey('documentId')
            ? json_['documentId'] as core.String
            : null,
        replies: json_.containsKey('replies')
            ? (json_['replies'] as core.List)
                .map((value) => Response.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,
      );