opt check reply state

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-24 18:10:37 +08:00
parent 7d30c9c66a
commit 08d64be5d4
3 changed files with 8 additions and 4 deletions

View File

@@ -53,8 +53,9 @@ class Success<T> extends LoadingState<T> {
}
class Error extends LoadingState<Never> {
final int? code;
final String? errMsg;
const Error(this.errMsg);
const Error(this.errMsg, {this.code});
@override
bool operator ==(Object other) {