resetPasswordByPhoneOtp method

  1. @override
Future<Result<void>> resetPasswordByPhoneOtp(
  1. String phone,
  2. String otp,
  3. String newPassword
)
override

Implementation

@override
Future<Result<void>> resetPasswordByPhoneOtp(
    String phone, String otp, String newPassword) async {
  final result =
      await AuthClient.resetPasswordByPhoneCode(phone, otp, newPassword);
  return result.toOddsResult();
}