pointForModule method
- BridgeModule module
Returns the point in this connection that corresponds to the given
module
, or null
if this does not involvesModule.
Implementation
RefType? pointForModule(BridgeModule module) {
if (point1.module == module) {
return point1;
} else if (point2.module == module) {
return point2;
} else {
return null;
}
}