AssetService class

Constructors

AssetService(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

deleteAsset(String assetId, {RequestConfig? requestConfig}) Future<void>
findByQuery(AssetSearchQuery query, {RequestConfig? requestConfig}) Future<List<Asset>>
getAsset(String assetId, {RequestConfig? requestConfig}) Future<Asset?>
getAssetsByEntityGroupId(String entityGroupId, PageLink pageLink, {RequestConfig? requestConfig}) Future<PageData<Asset>>
getAssetsByIds(List<String> assetIds, {RequestConfig? requestConfig}) Future<List<Asset>>
getAssetTypes({RequestConfig? requestConfig}) Future<List<EntitySubtype>>
getCustomerAssets(String customerId, PageLink pageLink, {String type = '', RequestConfig? requestConfig}) Future<PageData<Asset>>
getTenantAsset(String assetName, {RequestConfig? requestConfig}) Future<Asset?>
getTenantAssets(PageLink pageLink, {String type = '', RequestConfig? requestConfig}) Future<PageData<Asset>>
getUserAssets(PageLink pageLink, {String type = '', RequestConfig? requestConfig}) Future<PageData<Asset>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveAsset(Asset asset, {RequestConfig? requestConfig}) Future<Asset>
toString() String
A string representation of this object.
inherited

Operators

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