NetConfigInterface class abstract
Constructors
Properties
- connectTimeOut → int
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- logEnable → bool
-
no setter
- readTimeOut → int
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- successCode → int
-
no setter
- writeTimeOut → int
-
no setter
Methods
-
coverList<
M> (List list) → List< M> -
coverListResponse(
Map< String, dynamic> map) → ListResponse -
defaultHeader(
) → Map< String, String> -
getHost(
) → String -
getResponseCode(
Map< String, dynamic> map) → int -
getResponseData<
T> (Map< String, dynamic> map) → T? -
getResponseMsg(
Map< String, dynamic> map) → String -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onError(
dynamic error) → void - eg. if (error is NetError) { showToast(error.msg); }
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited