hasScheme property

bool hasScheme

Whether the URI has a scheme component.

Implementation

bool get hasScheme => scheme.isNotEmpty;