get<T> static method
When you need Wires associated with signal or scope or listener Returns List<Wire>
Implementation
static List<Wire<dynamic>> get<T>({String? signal, Object? scope, WireListener<dynamic>? listener, int? wireId}) {
final result = <Wire<dynamic>>[];
if (signal != null) result.addAll(_COMMUNICATION_LAYER.getBySignal(signal));
if (scope != null) result.addAll(_COMMUNICATION_LAYER.getByScope(scope));
if (listener != null) result.addAll(_COMMUNICATION_LAYER.getByListener(listener));
if (wireId != null) {
final wire = _COMMUNICATION_LAYER.getByWireId(wireId);
if (wire != null) result.add(wire);
}
return result;
}