UsersApi class
Constructors
- UsersApi(Dio _dio)
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
-
changeRole(
String idOrEmail, String newRoleName) → Future< Response> - Change a user's global role
-
createUsers(
List< Map< users) → Future<String, dynamic> >Response> - Create multiple users
-
deleteUser(
String idOrEmail) → Future< Response> - Delete a user by ID or email
-
getUser(
String idOrEmail, {bool? includeRole}) → Future< Response> - Get a user by ID or email
-
getUsers(
{int? limit, String? cursor, bool? includeRole, String? projectId}) → Future< Response> - Retrieve all users
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited