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