Add null-safety for list props with type dynamic
This commit is contained in:
@@ -29,5 +29,5 @@ class DownloadImageAsBase64Failure extends FeatureFailure {
|
||||
DownloadImageAsBase64Failure(this.exception);
|
||||
|
||||
@override
|
||||
List<Object> get props => [exception];
|
||||
List<Object?> get props => [exception];
|
||||
}
|
||||
@@ -17,5 +17,5 @@ class GetAutoCompleteFailure extends FeatureFailure {
|
||||
GetAutoCompleteFailure(this.exception);
|
||||
|
||||
@override
|
||||
List<Object> get props => [exception];
|
||||
List<Object?> get props => [exception];
|
||||
}
|
||||
@@ -17,5 +17,5 @@ class GetDeviceContactSuggestionsFailure extends FeatureFailure {
|
||||
GetDeviceContactSuggestionsFailure(this.exception);
|
||||
|
||||
@override
|
||||
List<Object> get props => [exception];
|
||||
List<Object?> get props => [exception];
|
||||
}
|
||||
@@ -14,5 +14,5 @@ class SaveEmailAddressFailure extends FeatureFailure {
|
||||
SaveEmailAddressFailure(this.exception);
|
||||
|
||||
@override
|
||||
List<Object> get props => [exception];
|
||||
List<Object?> get props => [exception];
|
||||
}
|
||||
@@ -33,5 +33,5 @@ class SaveEmailAsDraftsFailure extends FeatureFailure {
|
||||
SaveEmailAsDraftsFailure(this.exception);
|
||||
|
||||
@override
|
||||
List<Object> get props => [exception];
|
||||
List<Object?> get props => [exception];
|
||||
}
|
||||
@@ -33,5 +33,5 @@ class UpdateEmailDraftsFailure extends FeatureFailure {
|
||||
UpdateEmailDraftsFailure(this.exception);
|
||||
|
||||
@override
|
||||
List<Object> get props => [exception];
|
||||
List<Object?> get props => [exception];
|
||||
}
|
||||
Reference in New Issue
Block a user