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
@@ -19,5 +19,5 @@ class EmptyTrashFolderFailure extends FeatureFailure {
EmptyTrashFolderFailure(this.exception);
@override
List<Object> get props => [exception];
List<Object?> get props => [exception];
}
@@ -18,5 +18,5 @@ class GetAllEmailFailure extends FeatureFailure {
GetAllEmailFailure(this.exception);
@override
List<Object> get props => [exception];
List<Object?> get props => [exception];
}
@@ -19,5 +19,5 @@ class GetEmailByIdFailure extends FeatureFailure {
GetEmailByIdFailure(this.exception);
@override
List<Object> get props => [exception];
List<Object?> get props => [exception];
}
@@ -16,5 +16,5 @@ class LoadMoreEmailsFailure extends FeatureFailure {
LoadMoreEmailsFailure(this.exception);
@override
List<Object> get props => [exception];
List<Object?> get props => [exception];
}
@@ -55,5 +55,5 @@ class MarkAsMultipleEmailReadFailure extends FeatureFailure {
MarkAsMultipleEmailReadFailure(this.exception, this.readActions);
@override
List<Object> get props => [exception, readActions];
List<Object?> get props => [exception, readActions];
}
@@ -55,5 +55,5 @@ class MarkAsStarMultipleEmailFailure extends FeatureFailure {
MarkAsStarMultipleEmailFailure(this.exception, this.markStarAction);
@override
List<Object> get props => [exception, markStarAction];
List<Object?> get props => [exception, markStarAction];
}
@@ -90,5 +90,5 @@ class MoveMultipleEmailToMailboxFailure extends FeatureFailure {
MoveMultipleEmailToMailboxFailure(this.exception, this.emailActionType, this.moveAction);
@override
List<Object> get props => [exception, emailActionType, moveAction];
List<Object?> get props => [exception, emailActionType, moveAction];
}
@@ -18,5 +18,5 @@ class RefreshChangesAllEmailFailure extends FeatureFailure {
RefreshChangesAllEmailFailure(this.exception);
@override
List<Object> get props => [exception];
List<Object?> get props => [exception];
}
@@ -25,5 +25,5 @@ class SearchEmailFailure extends FeatureFailure {
SearchEmailFailure(this.exception);
@override
List<Object> get props => [exception];
List<Object?> get props => [exception];
}
@@ -26,5 +26,5 @@ class SearchMoreEmailFailure extends FeatureFailure {
SearchMoreEmailFailure(this.exception);
@override
List<Object> get props => [exception];
List<Object?> get props => [exception];
}