Dart
dart:core
Uri
hasScheme property
description
hasScheme property
bool
hasScheme
Returns whether the URI has a
scheme
component.
Implementation
bool
get
hasScheme => scheme.isNotEmpty;