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