fire<T> method
Publishes an event to local listeners without waiting for a handler.
Implementation
@override
bool fire<T>(T data,
{List<String>? paths,
String? separator,
Map<String, String>? arguments}) {
if (isDisposed) {
throw StateError('EventBusIsolate is disposed');
}
if (!_ready) {
throw StateError(
'EventBusIsolate is not initialized: await waitInit before fire');
}
_rejectWildcardPaths(paths, 'fire');
var dto = EventDTO<T>(data,
paths: paths, arguments: arguments, separator: separator);
return _link.fire(dto);
}