Service class
Constructors
- Service()
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
-
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
Static Properties
- apiUrl → dynamic
-
no setter
- getCookie → dynamic
-
no setter
- getLoadingWidget → Widget?
-
no setter
- getNeedLoadingMsg → bool
-
no setter
- getToken → dynamic
-
no setter
- getTokenKey → dynamic
-
no setter
- getTokenPrefix → dynamic
-
no setter
- url → dynamic
-
no setter
Static Methods
-
delAuthToken(
dynamic _) → dynamic -
domain(
String path) → dynamic -
extraSlag(
String? path) → dynamic -
setAuthToken(
String token) → dynamic -
setAuthTokenKey(
String key) → dynamic -
setAuthTokenPrefix(
String prefix) → dynamic -
setCookie(
String cookie) → dynamic -
setLoadingWidget(
Widget loading) → dynamic -
setNeedLoadingMsg(
bool needLoadingMsg) → dynamic