BatchDeleteDocumentResponse.fromJson constructor

BatchDeleteDocumentResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory BatchDeleteDocumentResponse.fromJson(Map<String, dynamic> json) {
  return BatchDeleteDocumentResponse(
    failedDocuments: (json['FailedDocuments'] as List?)
        ?.whereNotNull()
        .map((e) => BatchDeleteDocumentResponseFailedDocument.fromJson(
            e as Map<String, dynamic>))
        .toList(),
  );
}