removeBridge method

bool removeBridge(
  1. Bridge bridge
)

Removes a bridge from the bridges list.

Returns true if bridge was in the list, false otherwise.

Implementation

bool removeBridge(Bridge bridge) => _bridges.remove(bridge);