activeSlotId property
String?
get
activeSlotId
The currently active slot id, or null if none has been set yet.
Persists across restart. Reads straight through to StorageService
rather than caching a copy here — it's a single plain key, not the
burst-write-prone slot LIST, so there's no race to guard against and
no reason to duplicate state StorageService already holds.
Implementation
String? get activeSlotId =>
StorageService.to.getString(_activeSlotStorageKey);