registerByPhoneWithOtp method

  1. @override
Future<Result<AuthInfo>> registerByPhoneWithOtp(
  1. String phone,
  2. String password,
  3. String otp
)
override

Implementation

@override
Future<Result<AuthInfo>> registerByPhoneWithOtp(
    String phone, String password, String otp) async {
  final result = await AuthClient.registerByPhoneCode(phone, otp, password);
  return result.toOddsAuthResult();
}