Future<void> setEnvironment(String? environment) async { await waitForInit(); appDataStore.environment = environment; }