unlock method
Consume an unlock token from a brute-force unlock email. Apps typically extract this token from a deep link parameter when the user clicks the unlock link in their email.
Throws UnlockTokenInvalidException if the token is invalid, expired, or already consumed (one-shot).
Implementation
Future<void> unlock(String token) async {
await _api.unlock(token);
}