Add null-safety for list props with type dynamic
This commit is contained in:
@@ -9,10 +9,10 @@ class CleanupEmailCacheSuccess extends UIState {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class CleanupEmailCacheFailure extends FeatureFailure {
|
class CleanupEmailCacheFailure extends FeatureFailure {
|
||||||
final exception;
|
final dynamic exception;
|
||||||
|
|
||||||
CleanupEmailCacheFailure(this.exception);
|
CleanupEmailCacheFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -14,5 +14,5 @@ class CleanupRecentLoginUrlCacheFailure extends FeatureFailure {
|
|||||||
CleanupRecentLoginUrlCacheFailure(this.exception);
|
CleanupRecentLoginUrlCacheFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -14,5 +14,5 @@ class CleanupRecentLoginUsernameCacheFailure extends FeatureFailure {
|
|||||||
CleanupRecentLoginUsernameCacheFailure(this.exception);
|
CleanupRecentLoginUsernameCacheFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -14,5 +14,5 @@ class CleanupRecentSearchCacheFailure extends FeatureFailure {
|
|||||||
CleanupRecentSearchCacheFailure(this.exception);
|
CleanupRecentSearchCacheFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -29,5 +29,5 @@ class DownloadImageAsBase64Failure extends FeatureFailure {
|
|||||||
DownloadImageAsBase64Failure(this.exception);
|
DownloadImageAsBase64Failure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -17,5 +17,5 @@ class GetAutoCompleteFailure extends FeatureFailure {
|
|||||||
GetAutoCompleteFailure(this.exception);
|
GetAutoCompleteFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -17,5 +17,5 @@ class GetDeviceContactSuggestionsFailure extends FeatureFailure {
|
|||||||
GetDeviceContactSuggestionsFailure(this.exception);
|
GetDeviceContactSuggestionsFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -14,5 +14,5 @@ class SaveEmailAddressFailure extends FeatureFailure {
|
|||||||
SaveEmailAddressFailure(this.exception);
|
SaveEmailAddressFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -33,5 +33,5 @@ class SaveEmailAsDraftsFailure extends FeatureFailure {
|
|||||||
SaveEmailAsDraftsFailure(this.exception);
|
SaveEmailAsDraftsFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -33,5 +33,5 @@ class UpdateEmailDraftsFailure extends FeatureFailure {
|
|||||||
UpdateEmailDraftsFailure(this.exception);
|
UpdateEmailDraftsFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -60,5 +60,5 @@ class DownloadAttachmentForWebFailure extends FeatureFailure {
|
|||||||
DownloadAttachmentForWebFailure(this.taskId, this.exception);
|
DownloadAttachmentForWebFailure(this.taskId, this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [taskId, exception];
|
List<Object?> get props => [taskId, exception];
|
||||||
}
|
}
|
||||||
@@ -11,10 +11,10 @@ class DownloadAttachmentsSuccess extends UIState {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class DownloadAttachmentsFailure extends FeatureFailure {
|
class DownloadAttachmentsFailure extends FeatureFailure {
|
||||||
final exception;
|
final dynamic exception;
|
||||||
|
|
||||||
DownloadAttachmentsFailure(this.exception);
|
DownloadAttachmentsFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -15,5 +15,5 @@ class ExportAttachmentFailure extends FeatureFailure {
|
|||||||
ExportAttachmentFailure(this.exception);
|
ExportAttachmentFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -32,5 +32,5 @@ class GetEmailContentFailure extends FeatureFailure {
|
|||||||
GetEmailContentFailure(this.exception);
|
GetEmailContentFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -27,5 +27,5 @@ class GetStoredEmailStateFailure extends FeatureFailure {
|
|||||||
GetStoredEmailStateFailure(this.exception);
|
GetStoredEmailStateFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -29,5 +29,5 @@ class MarkAsEmailReadFailure extends FeatureFailure {
|
|||||||
MarkAsEmailReadFailure(this.exception, this.readActions);
|
MarkAsEmailReadFailure(this.exception, this.readActions);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception, readActions];
|
List<Object?> get props => [exception, readActions];
|
||||||
}
|
}
|
||||||
@@ -28,5 +28,5 @@ class MarkAsStarEmailFailure extends FeatureFailure {
|
|||||||
MarkAsStarEmailFailure(this.exception, this.markStarAction);
|
MarkAsStarEmailFailure(this.exception, this.markStarAction);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception, markStarAction];
|
List<Object?> get props => [exception, markStarAction];
|
||||||
}
|
}
|
||||||
@@ -47,5 +47,5 @@ class MoveToMailboxFailure extends FeatureFailure {
|
|||||||
MoveToMailboxFailure(this.emailActionType, this.exception);
|
MoveToMailboxFailure(this.emailActionType, this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [emailActionType, exception];
|
List<Object?> get props => [emailActionType, exception];
|
||||||
}
|
}
|
||||||
@@ -24,5 +24,5 @@ class AuthenticateOidcOnBrowserFailure extends FeatureFailure {
|
|||||||
AuthenticateOidcOnBrowserFailure(this.exception);
|
AuthenticateOidcOnBrowserFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -23,5 +23,5 @@ class AuthenticationUserFailure extends FeatureFailure {
|
|||||||
AuthenticationUserFailure(this.exception);
|
AuthenticationUserFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -25,5 +25,5 @@ class CheckOIDCIsAvailableFailure extends FeatureFailure {
|
|||||||
CheckOIDCIsAvailableFailure(this.exception);
|
CheckOIDCIsAvailableFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -13,5 +13,5 @@ class DeleteAuthorityOidcFailure extends FeatureFailure {
|
|||||||
DeleteAuthorityOidcFailure(this.exception);
|
DeleteAuthorityOidcFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -8,10 +8,10 @@ class DeleteCredentialSuccess extends UIState {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class DeleteCredentialFailure extends FeatureFailure {
|
class DeleteCredentialFailure extends FeatureFailure {
|
||||||
final exception;
|
final dynamic exception;
|
||||||
|
|
||||||
DeleteCredentialFailure(this.exception);
|
DeleteCredentialFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -18,5 +18,5 @@ class GetAllRecentLoginUrlLatestFailure extends FeatureFailure {
|
|||||||
GetAllRecentLoginUrlLatestFailure(this.exception);
|
GetAllRecentLoginUrlLatestFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -18,5 +18,5 @@ class GetAllRecentLoginUsernameLatestFailure extends FeatureFailure {
|
|||||||
GetAllRecentLoginUsernameLatestFailure(this.exception);
|
GetAllRecentLoginUsernameLatestFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -24,5 +24,5 @@ class GetAuthenticationInfoFailure extends FeatureFailure {
|
|||||||
GetAuthenticationInfoFailure(this.exception);
|
GetAuthenticationInfoFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -10,14 +10,14 @@ class GetCredentialViewState extends UIState {
|
|||||||
GetCredentialViewState(this.baseUrl, this.userName, this.password);
|
GetCredentialViewState(this.baseUrl, this.userName, this.password);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [baseUrl, this.userName, this.password];
|
List<Object> get props => [baseUrl, userName, password];
|
||||||
}
|
}
|
||||||
|
|
||||||
class GetCredentialFailure extends FeatureFailure {
|
class GetCredentialFailure extends FeatureFailure {
|
||||||
final exception;
|
final dynamic exception;
|
||||||
|
|
||||||
GetCredentialFailure(this.exception);
|
GetCredentialFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -25,5 +25,5 @@ class GetOIDCConfigurationFailure extends FeatureFailure {
|
|||||||
GetOIDCConfigurationFailure(this.exception);
|
GetOIDCConfigurationFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -25,5 +25,5 @@ class GetOIDCIsAvailableFailure extends FeatureFailure {
|
|||||||
GetOIDCIsAvailableFailure(this.exception);
|
GetOIDCIsAvailableFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -26,5 +26,5 @@ class GetTokenOIDCFailure extends FeatureFailure {
|
|||||||
GetTokenOIDCFailure(this.exception);
|
GetTokenOIDCFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -17,5 +17,5 @@ class RefreshTokenOIDCFailure extends FeatureFailure {
|
|||||||
RefreshTokenOIDCFailure(this.exception);
|
RefreshTokenOIDCFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -24,5 +24,5 @@ class CreateNewMailboxFailure extends FeatureFailure {
|
|||||||
CreateNewMailboxFailure(this.exception);
|
CreateNewMailboxFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -46,5 +46,5 @@ class DeleteMultipleMailboxFailure extends FeatureFailure {
|
|||||||
DeleteMultipleMailboxFailure(this.exception);
|
DeleteMultipleMailboxFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -21,5 +21,5 @@ class GetAllMailboxFailure extends FeatureFailure {
|
|||||||
GetAllMailboxFailure(this.exception);
|
GetAllMailboxFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -73,5 +73,5 @@ class MarkAsMailboxReadFailure extends FeatureFailure {
|
|||||||
MarkAsMailboxReadFailure(this.exception);
|
MarkAsMailboxReadFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -39,5 +39,5 @@ class MoveMailboxFailure extends FeatureFailure {
|
|||||||
MoveMailboxFailure(this.exception);
|
MoveMailboxFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -21,5 +21,5 @@ class RefreshChangesAllMailboxFailure extends FeatureFailure {
|
|||||||
RefreshChangesAllMailboxFailure(this.exception);
|
RefreshChangesAllMailboxFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -21,5 +21,5 @@ class RenameMailboxFailure extends FeatureFailure {
|
|||||||
RenameMailboxFailure(this.exception);
|
RenameMailboxFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -19,5 +19,5 @@ class SearchMailboxFailure extends FeatureFailure {
|
|||||||
SearchMailboxFailure(this.exception);
|
SearchMailboxFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -13,5 +13,5 @@ class VerifyNameFailure extends FeatureFailure {
|
|||||||
|
|
||||||
VerifyNameFailure(this.exception);
|
VerifyNameFailure(this.exception);
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
+1
-1
@@ -17,5 +17,5 @@ class DeleteLastTimeDismissedSpamReportedFailure extends FeatureFailure {
|
|||||||
DeleteLastTimeDismissedSpamReportedFailure(this.exception);
|
DeleteLastTimeDismissedSpamReportedFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -17,5 +17,5 @@ class DeleteSpamReportStateFailure extends FeatureFailure {
|
|||||||
DeleteSpamReportStateFailure(this.exception);
|
DeleteSpamReportStateFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -17,5 +17,5 @@ class GetAllRecentSearchLatestFailure extends FeatureFailure {
|
|||||||
GetAllRecentSearchLatestFailure(this.exception);
|
GetAllRecentSearchLatestFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
+1
-1
@@ -20,5 +20,5 @@ class GetAppDashboardConfigurationFailure extends FeatureFailure {
|
|||||||
GetAppDashboardConfigurationFailure(this.exception);
|
GetAppDashboardConfigurationFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -17,5 +17,5 @@ class GetComposerCacheFailure extends FeatureFailure {
|
|||||||
GetComposerCacheFailure(this.exception);
|
GetComposerCacheFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
+1
-1
@@ -24,5 +24,5 @@ class GetUnreadSpamMailboxFailure extends FeatureFailure {
|
|||||||
GetUnreadSpamMailboxFailure(this.exception);
|
GetUnreadSpamMailboxFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -19,5 +19,5 @@ class GetSpamReportStateFailure extends FeatureFailure {
|
|||||||
GetSpamReportStateFailure(this.exception);
|
GetSpamReportStateFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -16,5 +16,5 @@ class GetUserProfileFailure extends FeatureFailure {
|
|||||||
GetUserProfileFailure(this.exception);
|
GetUserProfileFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -17,5 +17,5 @@ class QuickSearchEmailFailure extends FeatureFailure {
|
|||||||
QuickSearchEmailFailure(this.exception);
|
QuickSearchEmailFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -14,5 +14,5 @@ class RemoveComposerCacheFailure extends FeatureFailure {
|
|||||||
RemoveComposerCacheFailure(this.exception);
|
RemoveComposerCacheFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -19,5 +19,5 @@ class RemoveEmailDraftsFailure extends FeatureFailure {
|
|||||||
RemoveEmailDraftsFailure(this.exception);
|
RemoveEmailDraftsFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -14,5 +14,5 @@ class SaveComposerCacheFailure extends FeatureFailure {
|
|||||||
SaveComposerCacheFailure(this.exception);
|
SaveComposerCacheFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -14,5 +14,5 @@ class SaveRecentSearchFailure extends FeatureFailure {
|
|||||||
SaveRecentSearchFailure(this.exception);
|
SaveRecentSearchFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
+1
-1
@@ -17,5 +17,5 @@ class StoreLastTimeDismissedSpamReportFailure extends FeatureFailure {
|
|||||||
StoreLastTimeDismissedSpamReportFailure(this.exception);
|
StoreLastTimeDismissedSpamReportFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -19,5 +19,5 @@ class StoreSpamReportStateFailure extends FeatureFailure {
|
|||||||
StoreSpamReportStateFailure(this.exception);
|
StoreSpamReportStateFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -17,5 +17,5 @@ class AddRecipientsInForwardingFailure extends FeatureFailure {
|
|||||||
AddRecipientsInForwardingFailure(this.exception);
|
AddRecipientsInForwardingFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -19,5 +19,5 @@ class CreateNewIdentityFailure extends FeatureFailure {
|
|||||||
CreateNewIdentityFailure(this.exception);
|
CreateNewIdentityFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -18,5 +18,5 @@ class CreateNewRuleFilterFailure extends FeatureFailure {
|
|||||||
CreateNewRuleFilterFailure(this.exception);
|
CreateNewRuleFilterFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -16,5 +16,5 @@ class DeleteEmailRuleFailure extends FeatureFailure {
|
|||||||
DeleteEmailRuleFailure(this.exception);
|
DeleteEmailRuleFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -16,5 +16,5 @@ class DeleteIdentityFailure extends FeatureFailure {
|
|||||||
DeleteIdentityFailure(this.exception);
|
DeleteIdentityFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -25,5 +25,5 @@ class DeleteRecipientInForwardingFailure extends FeatureFailure {
|
|||||||
DeleteRecipientInForwardingFailure(this.exception);
|
DeleteRecipientInForwardingFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -18,5 +18,5 @@ class EditEmailRuleFilterFailure extends FeatureFailure {
|
|||||||
EditEmailRuleFilterFailure(this.exception);
|
EditEmailRuleFilterFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -16,5 +16,5 @@ class EditIdentityFailure extends FeatureFailure {
|
|||||||
EditIdentityFailure(this.exception);
|
EditIdentityFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -17,5 +17,5 @@ class EditLocalCopyInForwardingFailure extends FeatureFailure {
|
|||||||
EditLocalCopyInForwardingFailure(this.exception);
|
EditLocalCopyInForwardingFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -20,5 +20,5 @@ class GetAllIdentitiesFailure extends FeatureFailure {
|
|||||||
GetAllIdentitiesFailure(this.exception);
|
GetAllIdentitiesFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -16,5 +16,5 @@ class GetAllRulesFailure extends FeatureFailure {
|
|||||||
GetAllRulesFailure(this.exception);
|
GetAllRulesFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -25,5 +25,5 @@ class GetAllVacationFailure extends FeatureFailure {
|
|||||||
GetAllVacationFailure(this.exception);
|
GetAllVacationFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -16,5 +16,5 @@ class GetForwardFailure extends FeatureFailure {
|
|||||||
GetForwardFailure(this.exception);
|
GetForwardFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -16,5 +16,5 @@ class LogoutOidcFailure extends FeatureFailure {
|
|||||||
LogoutOidcFailure(this.exception);
|
LogoutOidcFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -26,5 +26,5 @@ class SaveLanguageFailure extends FeatureFailure {
|
|||||||
SaveLanguageFailure(this.exception);
|
SaveLanguageFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -25,5 +25,5 @@ class UpdateVacationFailure extends FeatureFailure {
|
|||||||
UpdateVacationFailure(this.exception);
|
UpdateVacationFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
+1
-1
@@ -18,5 +18,5 @@ class DeleteEmailStateToRefreshFailure extends FeatureFailure {
|
|||||||
DeleteEmailStateToRefreshFailure(this.exception);
|
DeleteEmailStateToRefreshFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
+1
-1
@@ -18,5 +18,5 @@ class DeleteMailboxStateToRefreshFailure extends FeatureFailure {
|
|||||||
DeleteMailboxStateToRefreshFailure(this.exception);
|
DeleteMailboxStateToRefreshFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -20,5 +20,5 @@ class DestroySubscriptionFailure extends FeatureFailure {
|
|||||||
DestroySubscriptionFailure(this.exception);
|
DestroySubscriptionFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -21,5 +21,5 @@ class GetEmailStateToRefreshFailure extends FeatureFailure {
|
|||||||
GetEmailStateToRefreshFailure(this.exception);
|
GetEmailStateToRefreshFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -21,5 +21,5 @@ class GetFCMSubscriptionLocalFailure extends FeatureFailure {
|
|||||||
GetFCMSubscriptionLocalFailure(this.exception);
|
GetFCMSubscriptionLocalFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -21,5 +21,5 @@ class GetMailboxStateToRefreshFailure extends FeatureFailure {
|
|||||||
GetMailboxStateToRefreshFailure(this.exception);
|
GetMailboxStateToRefreshFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -21,5 +21,5 @@ class GetStoredEmailDeliveryStateFailure extends FeatureFailure {
|
|||||||
GetStoredEmailDeliveryStateFailure(this.exception);
|
GetStoredEmailDeliveryStateFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -21,5 +21,5 @@ class RegisterNewTokenFailure extends FeatureFailure {
|
|||||||
RegisterNewTokenFailure(this.exception);
|
RegisterNewTokenFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -18,5 +18,5 @@ class StoreEmailDeliveryStateFailure extends FeatureFailure {
|
|||||||
StoreEmailDeliveryStateFailure(this.exception);
|
StoreEmailDeliveryStateFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -18,5 +18,5 @@ class StoreEmailStateToRefreshFailure extends FeatureFailure {
|
|||||||
StoreEmailStateToRefreshFailure(this.exception);
|
StoreEmailStateToRefreshFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
+1
-1
@@ -18,5 +18,5 @@ class StoreMailboxStateToRefreshFailure extends FeatureFailure {
|
|||||||
StoreMailboxStateToRefreshFailure(this.exception);
|
StoreMailboxStateToRefreshFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -21,5 +21,5 @@ class GetQuotasFailure extends FeatureFailure {
|
|||||||
GetQuotasFailure(this.exception);
|
GetQuotasFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,5 +16,5 @@ class GetSessionFailure extends FeatureFailure {
|
|||||||
GetSessionFailure(this.exception);
|
GetSessionFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -19,5 +19,5 @@ class EmptyTrashFolderFailure extends FeatureFailure {
|
|||||||
EmptyTrashFolderFailure(this.exception);
|
EmptyTrashFolderFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -18,5 +18,5 @@ class GetAllEmailFailure extends FeatureFailure {
|
|||||||
GetAllEmailFailure(this.exception);
|
GetAllEmailFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -19,5 +19,5 @@ class GetEmailByIdFailure extends FeatureFailure {
|
|||||||
GetEmailByIdFailure(this.exception);
|
GetEmailByIdFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -16,5 +16,5 @@ class LoadMoreEmailsFailure extends FeatureFailure {
|
|||||||
LoadMoreEmailsFailure(this.exception);
|
LoadMoreEmailsFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -55,5 +55,5 @@ class MarkAsMultipleEmailReadFailure extends FeatureFailure {
|
|||||||
MarkAsMultipleEmailReadFailure(this.exception, this.readActions);
|
MarkAsMultipleEmailReadFailure(this.exception, this.readActions);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception, readActions];
|
List<Object?> get props => [exception, readActions];
|
||||||
}
|
}
|
||||||
@@ -55,5 +55,5 @@ class MarkAsStarMultipleEmailFailure extends FeatureFailure {
|
|||||||
MarkAsStarMultipleEmailFailure(this.exception, this.markStarAction);
|
MarkAsStarMultipleEmailFailure(this.exception, this.markStarAction);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception, markStarAction];
|
List<Object?> get props => [exception, markStarAction];
|
||||||
}
|
}
|
||||||
@@ -90,5 +90,5 @@ class MoveMultipleEmailToMailboxFailure extends FeatureFailure {
|
|||||||
MoveMultipleEmailToMailboxFailure(this.exception, this.emailActionType, this.moveAction);
|
MoveMultipleEmailToMailboxFailure(this.exception, this.emailActionType, this.moveAction);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception, emailActionType, moveAction];
|
List<Object?> get props => [exception, emailActionType, moveAction];
|
||||||
}
|
}
|
||||||
@@ -18,5 +18,5 @@ class RefreshChangesAllEmailFailure extends FeatureFailure {
|
|||||||
RefreshChangesAllEmailFailure(this.exception);
|
RefreshChangesAllEmailFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -25,5 +25,5 @@ class SearchEmailFailure extends FeatureFailure {
|
|||||||
SearchEmailFailure(this.exception);
|
SearchEmailFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -26,5 +26,5 @@ class SearchMoreEmailFailure extends FeatureFailure {
|
|||||||
SearchMoreEmailFailure(this.exception);
|
SearchMoreEmailFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
@@ -12,12 +12,12 @@ class LocalFilePickerSuccess extends UIState {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class LocalFilePickerFailure extends FeatureFailure {
|
class LocalFilePickerFailure extends FeatureFailure {
|
||||||
final exception;
|
final dynamic exception;
|
||||||
|
|
||||||
LocalFilePickerFailure(this.exception);
|
LocalFilePickerFailure(this.exception);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
List<Object> get props => [exception];
|
List<Object?> get props => [exception];
|
||||||
}
|
}
|
||||||
|
|
||||||
class LocalFilePickerCancel extends FeatureFailure {
|
class LocalFilePickerCancel extends FeatureFailure {
|
||||||
|
|||||||
Reference in New Issue
Block a user