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