protocol property

String get protocol
inherited

Implementation

String get protocol {
  final scheme = _uri?.scheme;
  if (scheme == null) return ':';
  return '$scheme:';
}