changePasswordByVerifyCode method
Future<bool>
changePasswordByVerifyCode(
- String password,
- ContactType contactType,
- String contact,
- String verifyCode, {
- HandleError? onError,
override
Implementation
@override
Future<bool> changePasswordByVerifyCode(
String password,
ContactType contactType,
String contact,
String verifyCode, {
HandleError? onError,
}) async {
return await helper.put("/password/by-verify-code",
data: {
"new_password": password,
"contact_type": contactTypes[contactType],
"contact": contact,
"verify_code": verifyCode,
},
handleError: onError) !=
false;
}