AppState

fun AppState(    locationPermission: LocationPermission,     notificationPermission: NotificationPermission,     batteryLevel: Int,     lastRuleUpdate: Instant?,     viewState: ViewState,     foregroundServiceEnabled: Boolean)