DataUtilsBasic class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
errorAction(
String tag, dynamic err, {bool isShowToast = true}) → void - 网络异常处理
-
failAction(
String tag, BaseInfo baseInfo, {dynamic isShowToast = true}) → void - token dept身份验证过期处理
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- badCertificate → const String
- connectionError → const String
- HTTP_NEED_LOGIN_AGAIN → const int
- HTTP_NEED_RESET_PWD → const int
- HTTP_SUCCESS_CODE → const int
- NET_ERROR → const String
- REQUEST_CANCEL_ERROR → const String
- SEND_TIMEOUT_ERROR → const String
- SERVER_ERROR → const String
- SERVER_TIMEOUT_ERROR → const String
- X_TOKEN → const String