UsersSection class
Constructors
- UsersSection(DioService _dioService)
-
const
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
-
create(
{required UserRequestBody requestBody}) → Future< DroneUser> -
const requestBody = UserRequestBody( active: true, avatarUrl: 'image.png', email: 'example@gmail.com', login: 'name', );
-
delete(
{required String login}) → Future< void> - DELETE /api/users/{login}
-
info(
{required String login}) → Future< DroneUser> - GET /api/users/{login}
-
list(
) → Future< List< DroneUser> > - GET /api/users
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
{required String login, required UserRequestBody requestBody}) → Future< DroneUser> -
const login='name'; const requestBody = UserRequestBody( active: true, avatarUrl: 'image.png', email: 'example@gmail.com', );
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited