hasScheme property

bool hasScheme

Returns whether the URI has a scheme component.

Implementation

bool get hasScheme => scheme.isNotEmpty;