cancelPendingRegistration method
Implementation
@override
void cancelPendingRegistration([HotKey? hotKey]) {
for (final attempt in _attempts) {
if (hotKey == null || attempt.hotKey.identifier == hotKey.identifier) {
attempt.cancelled = true;
}
}
_backend.cancelPendingRegistration(hotKey);
}