resetPassword method

  1. @override
Future<Result<void>> resetPassword(
  1. String newPassword, [
  2. String? oldPassword
])
override

Implementation

@override
Future<Result<void>> resetPassword(String newPassword,
    [String? oldPassword]) async {
  final result = await AuthClient.updatePassword(newPassword, oldPassword);
  return result.toOddsResult();
}