Future<void> setDeviceId(String deviceId) async { await _ensureInitialized(); await _userBox!.put(deviceIdKey, deviceId); }