maybe property

SaveSlotManager? get maybe

Gets the instance if already registered (safe to call from game/widget tests).

Implementation

static SaveSlotManager? get maybe =>
    Get.isRegistered<SaveSlotManager>() ? Get.find<SaveSlotManager>() : null;