findById static method

ConnectionStyle? findById(
  1. String id
)

Find a connection style by its ID

Returns null if no built-in style with the given ID exists. For custom styles, you'll need to manage them separately.

Implementation

static ConnectionStyle? findById(String id) {
  return byId[id];
}