UserApi class

Constructors

UserApi({required Dio dio})

Properties

dio → Dio
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

blockingUsers() Future<MixinResponse<List<User>>>
createUsers({required String fullName, required String sessionSecret}) Future<MixinResponse<Account>>
Create Network Users. Only application user can create network users.
getMe() Future<MixinResponse<User>>
getSessions(List<String> ids) Future<MixinResponse<List<UserSession>>>
getUserById(String id) Future<MixinResponse<User>>
getUserFavoriteApps(String userId) Future<MixinResponse<List<FavoriteApp>>>
getUsers(List<String> ids) Future<MixinResponse<List<User>>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
relationships(RelationshipRequest request) Future<MixinResponse<User>>
removeFavoriteApp(String appId) Future<void>
report(RelationshipRequest request) Future<MixinResponse<User>>
toString() String
A string representation of this object.
inherited

Operators

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