ResourceProvider<T extends TransferObjectBase> class abstract

Inheritance
Implementers

Constructors

ResourceProvider(RoutePattern routePattern, TransferBean<T> bean)

Properties

bean TransferBean<T>
finalinherited
hashCode int
The hash code for this object.
no setterinherited
routePattern RoutePattern
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

get(ApiRequest request) Future<T>
Fetches the value of the resource once.
getStream(ApiRequest request) Stream<T>
Subscribes to the resource and emits the value every time it updates.
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