CustomerService class

Inheritance

Constructors

CustomerService(dynamic baseUrl, Options baseOptions)

Properties

baseOptions Options
getter/setter pair
baseUrl String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headerDefault Map<String, String>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

confirmCurrentEmailToChangeEmail(TokenInput body) Future<ResponseModel>
Change email step two confirm current email
confirmCurrentEmailToChangePhone(TokenInput body) Future<ResponseModel>
Change phone step two confirm current email
confirmCurrentPhoneToChangeEmail(TokenOtpInput body) Future<ResponseModel>
Change email step three confirm current phone
confirmCurrentPhoneToChangePhone(TokenOtpInput body) Future<ResponseModel>
Change phone step three confirm current phone
confirmEmailRegistration(TokenInput body) Future<ResponseModel>
Confirm email registration
confirmNewEmailToChangeEmail(TokenInput body) Future<ResponseModel>
Change email step five confirm new email
confirmNewPhoneToChangePhone(TokenOtpInput body) Future<ResponseModel>
Change phone step five confirm new phone
confirmPhoneRegistration(TokenOtpInput body) Future<ResponseModel>
Confirm phone number registration
deleteProfile() Future<ResponseModel>
Delete customer profile
deletex<T>(String path, {Map<String, String>? headers, Object? body}) Future<Response>
inherited
getById(String id) Future<ResponseModel>
Get customer by Id
getx<T>(String path, {Map<String, String>? headers}) Future<Response>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patchx<T>(String path, {Map<String, String>? headers, Object? body}) Future<Response>
inherited
postx<T>(String path, {Map<String, String>? headers, Object? body}) Future<Response>
inherited
profile() Future<ResponseModel>
Get customer profile
putx<T>(String path, {Map<String, String>? headers, Object? body}) Future<Response>
inherited
registrationEmail(EmailInput body) Future<ResponseModel>
Registration email
registrationPhoneNumber(TokenPhoneInput body) Future<ResponseModel>
Registration phone number
registrationResendOtp(TokenInput body) Future<ResponseModel>
Registration resend otp
resendOtpNewPhoneToChangePhone(TokenInput body) Future<ResponseModel>
Change phone step four resend otp
resendOtpToChangeEmail(TokenInput body) Future<ResponseModel>
Change email step two resend otp
resendOtpToChangePhone(TokenInput body) Future<ResponseModel>
Change phone step two resend otp
toString() String
A string representation of this object.
inherited
updateProfile(ProfileInput body) Future<ResponseModel>
Update customer profile
verifyCurrentEmailToChangeEmail(EmailInput body) Future<ResponseModel>
Change email step one verify current email
verifyCurrentEmailToChangePhone(EmailInput body) Future<ResponseModel>
Change phone step one verify current email
verifyNewEmailToChangeEmail(TokenNewEmailInput body) Future<ResponseModel>
Change email step four verify new email
verifyNewPhoneToChangePhone(TokenNewPhoneInput body) Future<ResponseModel>
Change phone step four verify new phone

Operators

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