valueForProtocol method
Implementation
String? valueForProtocol(String protocol) {
final component = _components.firstWhere(
(c) => c.$1.name == protocol,
orElse: () => (Protocols.ip4, ''),
);
return component.$1.name == protocol ? component.$2 : null;
}