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
@@ -24,5 +24,5 @@ class AuthenticateOidcOnBrowserFailure extends FeatureFailure {
AuthenticateOidcOnBrowserFailure(this.exception);
@override
List<Object> get props => [exception];
List<Object?> get props => [exception];
}
@@ -23,5 +23,5 @@ class AuthenticationUserFailure extends FeatureFailure {
AuthenticationUserFailure(this.exception);
@override
List<Object> get props => [exception];
List<Object?> get props => [exception];
}
@@ -25,5 +25,5 @@ class CheckOIDCIsAvailableFailure extends FeatureFailure {
CheckOIDCIsAvailableFailure(this.exception);
@override
List<Object> get props => [exception];
List<Object?> get props => [exception];
}
@@ -13,5 +13,5 @@ class DeleteAuthorityOidcFailure extends FeatureFailure {
DeleteAuthorityOidcFailure(this.exception);
@override
List<Object> get props => [exception];
List<Object?> get props => [exception];
}
@@ -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];
}
@@ -18,5 +18,5 @@ class GetAllRecentLoginUrlLatestFailure extends FeatureFailure {
GetAllRecentLoginUrlLatestFailure(this.exception);
@override
List<Object> get props => [exception];
List<Object?> get props => [exception];
}
@@ -18,5 +18,5 @@ class GetAllRecentLoginUsernameLatestFailure extends FeatureFailure {
GetAllRecentLoginUsernameLatestFailure(this.exception);
@override
List<Object> get props => [exception];
List<Object?> get props => [exception];
}
@@ -24,5 +24,5 @@ class GetAuthenticationInfoFailure extends FeatureFailure {
GetAuthenticationInfoFailure(this.exception);
@override
List<Object> get props => [exception];
List<Object?> get props => [exception];
}
@@ -10,14 +10,14 @@ class GetCredentialViewState extends UIState {
GetCredentialViewState(this.baseUrl, this.userName, this.password);
@override
List<Object> get props => [baseUrl, this.userName, this.password];
List<Object> get props => [baseUrl, userName, password];
}
class GetCredentialFailure extends FeatureFailure {
final exception;
final dynamic exception;
GetCredentialFailure(this.exception);
@override
List<Object> get props => [exception];
List<Object?> get props => [exception];
}
@@ -25,5 +25,5 @@ class GetOIDCConfigurationFailure extends FeatureFailure {
GetOIDCConfigurationFailure(this.exception);
@override
List<Object> get props => [exception];
List<Object?> get props => [exception];
}
@@ -25,5 +25,5 @@ class GetOIDCIsAvailableFailure extends FeatureFailure {
GetOIDCIsAvailableFailure(this.exception);
@override
List<Object> get props => [exception];
List<Object?> get props => [exception];
}
@@ -26,5 +26,5 @@ class GetTokenOIDCFailure extends FeatureFailure {
GetTokenOIDCFailure(this.exception);
@override
List<Object> get props => [exception];
List<Object?> get props => [exception];
}
@@ -17,5 +17,5 @@ class RefreshTokenOIDCFailure extends FeatureFailure {
RefreshTokenOIDCFailure(this.exception);
@override
List<Object> get props => [exception];
List<Object?> get props => [exception];
}