UserAction class
- Inheritance
-
- Object
- ApiService
- UserAction
Constructors
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
-
deleteHttp(
String endpoint, dynamic token, [Map< String, dynamic> ? data]) → Future<Response> -
inherited
-
editAccountDetails(
UserModel userModel) → Future< int> -
getHttp(
String endpoint, dynamic token) → Future< Response> -
inherited
-
getUserDetails(
) → Future< UserModel> -
getUserDetailsById(
String userId) → Future< UserModel> -
login(
LoginModel loginModel) → Future< int> -
logout(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
postHttp(
String endpoint, dynamic token, Map< String, dynamic> body) → Future<Response> -
inherited
-
signUp(
UserModel userModel) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited