BatchPutDocumentResponseFailedDocument.fromJson constructor

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

Implementation

factory BatchPutDocumentResponseFailedDocument.fromJson(
    Map<String, dynamic> json) {
  return BatchPutDocumentResponseFailedDocument(
    errorCode: (json['ErrorCode'] as String?)?.toErrorCode(),
    errorMessage: json['ErrorMessage'] as String?,
    id: json['Id'] as String?,
  );
}