initialise method
Future<void> initialise ()
Implementation
Future<void> initialise() async {
setState(ViewState.busy);
_currentOrganizationStreamSubscription = userConfig.currentOrgInfoStream
.listen((updatedOrganization) => refreshEvents());
await _eventService.getEvents();
_eventStreamSubscription = _eventService.eventStream.listen(
(newEvent) => checkIfExistsAndAddNewEvent(newEvent),
);
_bufferEvents = _events;
setState(ViewState.idle);
}