resetPasswordByEmailCode static method
reset password by email and an email code.
Implementation
static Future<AuthResult> resetPasswordByEmailCode(
String email, String code, String password) async {
var body = jsonEncode(
{'email': email, 'code': code, 'newPassword': Util.encrypt(password)});
final Result result = await post('/api/v2/password/reset/email', body);
return AuthResult(result);
}