Dart
dart:core
Uri
hasScheme property
hasScheme
Dart
dart:core
Uri
hasScheme property
Uri class
Constructors
Uri
dataFromBytes
dataFromString
directory
file
http
https
Properties
authority
data
fragment
hasAbsolutePath
hasAuthority
hasEmptyPath
hasFragment
hashCode
hasPort
hasQuery
hasScheme
host
isAbsolute
origin
path
pathSegments
port
query
queryParameters
queryParametersAll
runtimeType
scheme
userInfo
Methods
isScheme
normalizePath
noSuchMethod
removeFragment
replace
resolve
resolveUri
toFilePath
toString
Operators
operator ==
Static properties
base
Static methods
decodeComponent
decodeFull
decodeQueryComponent
encodeComponent
encodeFull
encodeQueryComponent
parse
parseIPv4Address
parseIPv6Address
splitQueryString
tryParse
description
hasScheme
property
Null safety
bool
hasScheme
Returns whether the URI has a
scheme
component.
Implementation
bool get hasScheme => scheme.isNotEmpty;