OmegaFlow constructor

OmegaFlow({
  1. required String id,
  2. required OmegaEventBus channel,
})

Implementation

OmegaFlow({required this.id, required this.channel}) {
  _channelSubscription = channel.events.listen(_handleEvent);
}