call method

Future call(
  1. T newData, {
  2. Map<String, String>? arguments,
})

Implementation

Future<dynamic> call(T newData, {Map<String, String>? arguments}) {
  if (_scopeCommand == null) {
    throw EventBusException("Scope<$T> not initialize");
  }
  return _scopeCommand!.execute(newData, arguments: arguments);
}