AccountService class Null safety
- Implementers
Constructors
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
-
changePassword(
{required int customId, required String oldPassword, required String newPassword}) → Future< bool?> -
confirmPassword(
{required String data, required int verifyType, required String password}) → Future< int> -
customerSummary(
{required int customerId}) → Future< CustomerSummaryModel> - Use it to get user's profile points and wishlist number
-
forgetPassword(
{required String data, required int verifyType}) → Future< bool?> -
getProfileDetails(
{required UserModel userModel, required int customerId}) → Future< UserModel> -
login(
{required String password, required String email}) → Future< UserModel> - Send user model with email and password data for login [...]
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
notificationsToken(
{required String deviceToken}) → Future< bool?> - Send firebase device token to server
-
register(
{required RegisterModel registerModel}) → Future< UserModel> -
resendPassword(
{required String data, required int verifyType}) → Future< bool?> -
resendVerificationCode(
{required ActivationCodeModel activationCodeModel}) → Future< bool?> - Used for resend only verification code
-
resetPassword(
{required int customerId, required String password}) → Future< bool?> -
subscribe(
{required String email}) → Future< bool?> - Get any updates or news via your mail
-
toString(
) → String -
A string representation of this object. [...]
inherited
-
unSubscribe(
{required String email}) → Future< bool?> - Cancel subscription for getting updates or news via your mail
-
updateProfile(
{required UserModel userModel}) → Future< UserModel> -
verify(
{required ActivationCodeModel activationCodeModel}) → Future< bool?>
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited