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