RoleService class

Constructors

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

deleteRole(String roleId, {RequestConfig? requestConfig}) Future<void>
getRole(String roleId, {RequestConfig? requestConfig}) Future<Role?>
getRoles(PageLink pageLink, {RoleType? type, RequestConfig? requestConfig}) Future<PageData<Role>>
getRolesByIds(List<String> roleIds, {RequestConfig? requestConfig}) Future<List<Role>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveRole(Role role, {RequestConfig? requestConfig}) Future<Role>
toString() String
A string representation of this object.
inherited

Operators

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