Add null-safety for list props with type dynamic
This commit is contained in:
@@ -24,5 +24,5 @@ class CreateNewMailboxFailure extends FeatureFailure {
|
||||
CreateNewMailboxFailure(this.exception);
|
||||
|
||||
@override
|
||||
List<Object> get props => [exception];
|
||||
List<Object?> get props => [exception];
|
||||
}
|
||||
@@ -46,5 +46,5 @@ class DeleteMultipleMailboxFailure extends FeatureFailure {
|
||||
DeleteMultipleMailboxFailure(this.exception);
|
||||
|
||||
@override
|
||||
List<Object> get props => [exception];
|
||||
List<Object?> get props => [exception];
|
||||
}
|
||||
@@ -21,5 +21,5 @@ class GetAllMailboxFailure extends FeatureFailure {
|
||||
GetAllMailboxFailure(this.exception);
|
||||
|
||||
@override
|
||||
List<Object> get props => [exception];
|
||||
List<Object?> get props => [exception];
|
||||
}
|
||||
@@ -73,5 +73,5 @@ class MarkAsMailboxReadFailure extends FeatureFailure {
|
||||
MarkAsMailboxReadFailure(this.exception);
|
||||
|
||||
@override
|
||||
List<Object> get props => [exception];
|
||||
List<Object?> get props => [exception];
|
||||
}
|
||||
@@ -39,5 +39,5 @@ class MoveMailboxFailure extends FeatureFailure {
|
||||
MoveMailboxFailure(this.exception);
|
||||
|
||||
@override
|
||||
List<Object> get props => [exception];
|
||||
List<Object?> get props => [exception];
|
||||
}
|
||||
@@ -21,5 +21,5 @@ class RefreshChangesAllMailboxFailure extends FeatureFailure {
|
||||
RefreshChangesAllMailboxFailure(this.exception);
|
||||
|
||||
@override
|
||||
List<Object> get props => [exception];
|
||||
List<Object?> get props => [exception];
|
||||
}
|
||||
@@ -21,5 +21,5 @@ class RenameMailboxFailure extends FeatureFailure {
|
||||
RenameMailboxFailure(this.exception);
|
||||
|
||||
@override
|
||||
List<Object> get props => [exception];
|
||||
List<Object?> get props => [exception];
|
||||
}
|
||||
@@ -19,5 +19,5 @@ class SearchMailboxFailure extends FeatureFailure {
|
||||
SearchMailboxFailure(this.exception);
|
||||
|
||||
@override
|
||||
List<Object> get props => [exception];
|
||||
List<Object?> get props => [exception];
|
||||
}
|
||||
Reference in New Issue
Block a user