Add null-safety for list props with type dynamic

This commit is contained in:
dab246
2023-02-17 17:07:08 +07:00
committed by Dat Vu
parent f614a2bab4
commit 163ed8b9fe
95 changed files with 101 additions and 101 deletions
@@ -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];
}
@@ -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];
}
@@ -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];
}
@@ -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];
}