getCurrentBridge function

VoltronBridgeManager? getCurrentBridge(
  1. int engineId
)

Implementation

VoltronBridgeManager? getCurrentBridge(
  int engineId,
) {
  var bridge = VoltronBridgeManager.bridgeMap[engineId];
  bridge ??= VoltronBridgeManager.bridgeMap[0];
  return bridge;
}