mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-23 10:36:24 +08:00
opt check reply state
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user