HDMHttpRequestsStates<T> class
Constructors
- HDMHttpRequestsStates({dynamic onSuccess(T result)?, dynamic onErr()?, dynamic onLoading()?, dynamic onIdleAgain()?})
Properties
- context ↔ BuildContext?
-
getter/setter pair
- deBug ↔ bool
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- onErr ↔ dynamic Function()?
-
getter/setter pair
- onIdleAgain ↔ dynamic Function()?
-
getter/setter pair
- onLoading ↔ dynamic Function()?
-
getter/setter pair
- onSuccess ↔ dynamic Function(T result)?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- set ↔ VoidCallback?
-
getter/setter pair
- states ↔ HDMHttpRequestsStatesEnum
-
getter/setter pair
Methods
-
checkIfSetToErr(
) → bool -
checkIfSetToIdle(
) → bool -
checkIfSetToLoading(
) → bool -
checkIfSetTOSuccess(
) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setErr(
String message, StackTrace stackTrace) → Future< void> -
setIdle(
) → void -
setLoading(
) → void -
setSuccess(
T result) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited