maybe property
PersistentCooldownService?
get
maybe
Gets the instance if already registered (safe to call from call sites that may run before/without this service registered, e.g. widget tests).
Implementation
static PersistentCooldownService? get maybe =>
Get.isRegistered<PersistentCooldownService>()
? Get.find<PersistentCooldownService>()
: null;