isEquivalentTo method

bool isEquivalentTo(
  1. ConnectionStyle other
)

Check if two connection styles are equivalent This is used for caching decisions and theme comparisons

Implementation

bool isEquivalentTo(ConnectionStyle other) {
  return runtimeType == other.runtimeType && id == other.id;
}