getBroker method

Broker getBroker(
  1. int nodeId
)

Returns Broker by specified nodeId.

Implementation

Broker getBroker(int nodeId) {
  return brokers.firstWhere((b) => b.id == nodeId);
}