TF-1008 refactor some code
This commit is contained in:
@@ -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
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user