protocol property

String get protocol
inherited

Implementation

String get protocol {
  final scheme = _uri?.scheme;
  if (scheme == null) return ':';
  return '$scheme:';
}
  1. @override
set protocol (String? value)
inherited

Implementation

@override
set protocol(String? value) => throw UnsupportedError(
    'URL protocol mutation is not available outside a browser context.');