operations property

  1. @override
Map<MessageBusEvent, Function> operations
override

Collection of your backend's operations, which will be executed on events from frontend

Implementation

@override
Map<MessageBusEvent, Function> get operations {
  return {
    MessageBusEvent.addIsolateSendPort: addIsolateSendPort,
    MessageBusEvent.removeIsolateSendPort: removeIsolateSendPort,
  };
}