M4eUserService class
Exposes SDK User Api methods
Accessing the instantiated M4eUserService
methods
is done by:
final _userService = M4eUserService();
final _isAuthenticated = await _userService.registerUser(M4eUserForm userForm);
Constructors
- M4eUserService({UserApi userApi, AuthApi authApi, DataConnectionChecker connectionChecker })
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
createM4eUser(
M4eUserForm userForm) → Future< M4eUniqueId> -
Creates an
M4eUser
and returns createdM4eUniqueId
[...] -
getM4eUser(
) → Future< M4eUser> -
Returns authenticated
M4eUser
[...] -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited