Fiber<T> class
Provides a Fibre object.
This will be used to start the request process and provides the response
from the _completer
.
Will also be used to see what if any error occurred.
Need to provide Core and the action which will be called through Fiber.
Constructors
-
Fiber({required _FiberAction<
T> action})
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run(
) → Future< void> -
This will initiate the request by calling action. And when the
request is done the result will be saved int
_completer
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited