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

action → _FiberAction<T>
final
future Future<T>
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tries int
getter/setter pair

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