@@ -24,7 +24,7 @@ class AppConfigurationState extends Equatable {
24
24
this .status = AppConfigurationStatus .initial,
25
25
this .remoteConfig,
26
26
this .originalRemoteConfig,
27
- this .errorMessage ,
27
+ this .exception ,
28
28
this .isDirty = false ,
29
29
this .showSaveSuccess = false ,
30
30
});
@@ -52,7 +52,7 @@ class AppConfigurationState extends Equatable {
52
52
AppConfigurationStatus ? status,
53
53
RemoteConfig ? remoteConfig,
54
54
RemoteConfig ? originalRemoteConfig,
55
- String ? errorMessage ,
55
+ HtHttpException ? exception ,
56
56
bool ? isDirty,
57
57
bool clearErrorMessage = false ,
58
58
bool ? showSaveSuccess,
@@ -62,9 +62,9 @@ class AppConfigurationState extends Equatable {
62
62
status: status ?? this .status,
63
63
remoteConfig: remoteConfig ?? this .remoteConfig,
64
64
originalRemoteConfig: originalRemoteConfig ?? this .originalRemoteConfig,
65
- errorMessage : clearErrorMessage
65
+ exception : clearErrorMessage
66
66
? null
67
- : errorMessage ?? this .errorMessage ,
67
+ : exception ?? this .exception ,
68
68
isDirty: isDirty ?? this .isDirty,
69
69
showSaveSuccess: clearShowSaveSuccess
70
70
? false
@@ -74,11 +74,11 @@ class AppConfigurationState extends Equatable {
74
74
75
75
@override
76
76
List <Object ?> get props => [
77
- status,
78
- remoteConfig,
79
- originalRemoteConfig,
80
- errorMessage ,
81
- isDirty,
82
- showSaveSuccess,
83
- ];
77
+ status,
78
+ remoteConfig,
79
+ originalRemoteConfig,
80
+ exception ,
81
+ isDirty,
82
+ showSaveSuccess,
83
+ ];
84
84
}
0 commit comments