Add null-safety for list props with type dynamic
This commit is contained in:
+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];
|
||||
}
|
||||
Reference in New Issue
Block a user