protocol property

String get protocol

The scheme of the URL, such as "http" or "https".

Implementation

String get protocol => _uri.scheme;