activateCooldown method

Future<void> activateCooldown()

Activates the cooldown using the default duration.

Sets the activation time to the current time and increments the activation count.

Implementation

Future<void> activateCooldown() =>
    _lock.synchronized(() => _activateCooldownUnlocked());