hasProtocol method

bool hasProtocol(
  1. String protocol
)

Implementation

bool hasProtocol(String protocol) {
  return _components.any((c) => c.$1.name == protocol);
}