ResourceService class
Constructors
- ResourceService(ThingsboardClient tbClient)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deleteResource(
String resourceId, {RequestConfig? requestConfig}) → Future< void> -
downloadResource(
String resourceId, {RequestConfig? requestConfig}) → Future< ResponseBody?> -
getResource(
String resourceId, {RequestConfig? requestConfig}) → Future< TbResource?> -
getResourceInfo(
String resourceId, {RequestConfig? requestConfig}) → Future< TbResourceInfo?> -
getResources(
PageLink pageLink, {RequestConfig? requestConfig}) → Future< PageData< TbResourceInfo> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveResource(
TbResource resource, {RequestConfig? requestConfig}) → Future< TbResource> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited