get static method

NUIBusEvent get({
  1. String? module,
})

Implementation

static NUIBusEvent get({String? module}){
  final targetModule = module ?? _DEFAULT_MODULE;
  final instance = _instance?[targetModule];
  if(instance == null){
    throwNUI(_MODULE, "Instance for module $targetModule have not been built with NUIBusEventBuilder");
  }
  return instance!;
}