EventBusIsolate constructor
EventBusIsolate({})
isModelBus applies to both sides of the bridge: the bus in the main
isolate and the bus inside the worker. A model bus keeps the node and the
current value of a topic after its last listener cancels.
Implementation
EventBusIsolate({
required this.onInit,
Object? initialData,
bool isModelBus = false,
}) : super(isModelBus) {
_init(initialData: initialData, isModelBus: isModelBus);
}