TF-1008 refactor some code

This commit is contained in:
ManhNTX
2022-11-10 11:07:32 +07:00
committed by Dat H. Pham
parent 8c84a7d55d
commit e2d9f4e6ee
2 changed files with 2 additions and 7 deletions
@@ -212,12 +212,7 @@ class MailboxAPI with HandleSetErrorMixin {
notUpdatedError: response.notUpdated,
notCreatedError: response.notCreated,
notDestroyedHandlers: <SetMethodErrorHandler>{
(entry) {
if (entry.value.type == SetError.notFound) {
return true;
}
return false;
}
(entry) => entry.value.type == SetError.notFound,
},
unCatchErrorHandler: (setErrorEntry) {
remainedErrors.add(setErrorEntry);
+1 -1
View File
@@ -651,7 +651,7 @@ packages:
name: glob
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0"
version: "2.1.1"
graphs:
dependency: transitive
description: