hasScheme property

bool get hasScheme

Whether the URI has a scheme component.

Implementation

bool get hasScheme => scheme.isNotEmpty;