ResourceRestClient<T extends TransferObjectBase> class
- Inheritance
-
- Object
- Resource<
T> - ResourceClient<
T> - ResourceRestClient
Constructors
-
ResourceRestClient(RestClient client, RoutePattern routePattern, TransferBean<
T> bean, Map<String, String> routeParams)
Properties
-
bean
→ TransferBean<
T> -
finalinherited
- client → RestClient
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
routeParams
→ Map<
String, String> -
final
- routePattern → RoutePattern
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
get(
) → Future< T> -
Fetches the value of the resource once.
inherited
-
getStream(
) → 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited