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];
|
||||
}
|
||||
Reference in New Issue
Block a user