EntityRelationService class

Constructors

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

deleteRelation(EntityId fromId, String relationType, RelationTypeGroup relationTypeGroup, EntityId toId, {RequestConfig? requestConfig}) Future<void>
deleteRelations(EntityId entityId, {RequestConfig? requestConfig}) Future<void>
findByFrom(EntityId fromId, {String? relationType, RelationTypeGroup? relationTypeGroup, RequestConfig? requestConfig}) Future<List<EntityRelation>>
findByQuery(EntityRelationsQuery query, {RequestConfig? requestConfig}) Future<List<EntityRelation>>
findByTo(EntityId toId, {String? relationType, RelationTypeGroup? relationTypeGroup, RequestConfig? requestConfig}) Future<List<EntityRelation>>
findInfoByFrom(EntityId fromId, {RelationTypeGroup? relationTypeGroup, RequestConfig? requestConfig}) Future<List<EntityRelationInfo>>
findInfoByQuery(EntityRelationsQuery query, {RequestConfig? requestConfig}) Future<List<EntityRelationInfo>>
findInfoByTo(EntityId toId, {RelationTypeGroup? relationTypeGroup, RequestConfig? requestConfig}) Future<List<EntityRelationInfo>>
getRelation(EntityId fromId, String relationType, RelationTypeGroup relationTypeGroup, EntityId toId, {RequestConfig? requestConfig}) Future<EntityRelation?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveRelation(EntityRelation relation, {RequestConfig? requestConfig}) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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