MutableResourceProvider<T extends TransferObjectBase> class abstract

Inheritance
Implemented types
Implementers

Constructors

MutableResourceProvider(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.
inherited
getStream(ApiRequest request) Stream<T>
Subscribes to the resource and emits the value every time it updates.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(ApiRequest request, T value) Future<void>
Pushes a new value to the resource.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited