CustomerService class

Constructors

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

deleteCustomer(String customerId, {RequestConfig? requestConfig}) Future<void>
getCustomer(String customerId, {RequestConfig? requestConfig}) Future<Customer?>
getCustomers(PageLink pageLink, {RequestConfig? requestConfig}) Future<PageData<Customer>>
getCustomersByEntityGroupId(String entityGroupId, PageLink pageLink, {RequestConfig? requestConfig}) Future<PageData<Customer>>
getCustomerTitle(String customerId, {RequestConfig? requestConfig}) Future<String?>
getShortCustomerInfo(String customerId, {RequestConfig? requestConfig}) Future<ShortCustomerInfo?>
getTenantCustomer(String customerTitle, {RequestConfig? requestConfig}) Future<Customer?>
getUserCustomers(PageLink pageLink, {RequestConfig? requestConfig}) Future<PageData<Customer>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveCustomer(Customer customer, {RequestConfig? requestConfig}) Future<Customer>
toString() String
A string representation of this object.
inherited

Operators

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