TF-1487 Apply linter rule
This commit is contained in:
@@ -61,9 +61,7 @@ class LocalThreadDataSourceImpl extends ThreadDataSource {
|
||||
sort: sort,
|
||||
filterOption: filterOption ?? FilterMessageOption.all,
|
||||
limit: limit);
|
||||
}).catchError((error) {
|
||||
_exceptionThrower.throwException(error);
|
||||
});
|
||||
}).catchError(_exceptionThrower.throwException);
|
||||
}
|
||||
|
||||
@override
|
||||
@@ -77,9 +75,7 @@ class LocalThreadDataSourceImpl extends ThreadDataSource {
|
||||
updated: updated,
|
||||
created: created,
|
||||
destroyed: destroyed);
|
||||
}).catchError((error) {
|
||||
_exceptionThrower.throwException(error);
|
||||
});
|
||||
}).catchError(_exceptionThrower.throwException);
|
||||
}
|
||||
|
||||
@override
|
||||
|
||||
@@ -47,9 +47,7 @@ class ThreadDataSourceImpl extends ThreadDataSource {
|
||||
sort: sort,
|
||||
filter: filter,
|
||||
properties: properties);
|
||||
}).catchError((error) {
|
||||
_exceptionThrower.throwException(error);
|
||||
});
|
||||
}).catchError(_exceptionThrower.throwException);
|
||||
}
|
||||
|
||||
@override
|
||||
@@ -67,9 +65,7 @@ class ThreadDataSourceImpl extends ThreadDataSource {
|
||||
sinceState,
|
||||
propertiesCreated: propertiesCreated,
|
||||
propertiesUpdated: propertiesUpdated);
|
||||
}).catchError((error) {
|
||||
_exceptionThrower.throwException(error);
|
||||
});
|
||||
}).catchError(_exceptionThrower.throwException);
|
||||
}
|
||||
|
||||
@override
|
||||
@@ -90,9 +86,7 @@ class ThreadDataSourceImpl extends ThreadDataSource {
|
||||
mailboxId,
|
||||
updateDestroyedEmailCache,
|
||||
);
|
||||
}).catchError((error) {
|
||||
_exceptionThrower.throwException(error);
|
||||
});
|
||||
}).catchError(_exceptionThrower.throwException);
|
||||
}
|
||||
|
||||
@override
|
||||
@@ -100,8 +94,6 @@ class ThreadDataSourceImpl extends ThreadDataSource {
|
||||
return Future.sync(() async {
|
||||
final email = await threadAPI.getEmailById(accountId, emailId, properties: properties);
|
||||
return email.toPresentationEmail();
|
||||
}).catchError((error) {
|
||||
_exceptionThrower.throwException(error);
|
||||
});
|
||||
}).catchError(_exceptionThrower.throwException);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user