TF-1008 refactor some code
This commit is contained in:
@@ -212,12 +212,7 @@ class MailboxAPI with HandleSetErrorMixin {
|
|||||||
notUpdatedError: response.notUpdated,
|
notUpdatedError: response.notUpdated,
|
||||||
notCreatedError: response.notCreated,
|
notCreatedError: response.notCreated,
|
||||||
notDestroyedHandlers: <SetMethodErrorHandler>{
|
notDestroyedHandlers: <SetMethodErrorHandler>{
|
||||||
(entry) {
|
(entry) => entry.value.type == SetError.notFound,
|
||||||
if (entry.value.type == SetError.notFound) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
unCatchErrorHandler: (setErrorEntry) {
|
unCatchErrorHandler: (setErrorEntry) {
|
||||||
remainedErrors.add(setErrorEntry);
|
remainedErrors.add(setErrorEntry);
|
||||||
|
|||||||
+1
-1
@@ -651,7 +651,7 @@ packages:
|
|||||||
name: glob
|
name: glob
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.1.0"
|
version: "2.1.1"
|
||||||
graphs:
|
graphs:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
|||||||
Reference in New Issue
Block a user