UriIns class

Implemented types

Constructors

UriIns(Uri uri)

Properties

authority → String
The authority component.
no setteroverride
data → UriData?
Access the structure of a data: URI.
no setteroverride
fragment → String
The fragment identifier component.
no setteroverride
hasAbsolutePath → bool
Whether the URI has an absolute path (starting with '/').
no setteroverride
hasAuthority → bool
Whether the URI has an authority component.
no setteroverride
hasEmptyPath → bool
Whether the URI has an empty path.
no setteroverride
hasFragment → bool
Whether the URI has a fragment part.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
hasPort → bool
Whether the URI has an explicit port.
no setteroverride
hasQuery → bool
Whether the URI has a query part.
no setteroverride
hasScheme → bool
Whether the URI has a scheme component.
no setteroverride
host → String
The host part of the authority component.
no setteroverride
isAbsolute → bool
Whether the URI is absolute.
no setteroverride
origin → String
Returns the origin of the URI in the form scheme://host:port for the schemes http and https.
no setteroverride
path → String
The path component.
no setteroverride
pathSegments → List<String>
The URI path split into its segments.
no setteroverride
port → int
The port part of the authority component.
no setteroverride
query → String
The query component.
no setteroverride
queryParameters → Map<String, String>
The URI query split into a map according to the rules specified for FORM post in the HTML 4.01 specification section 17.13.4.
no setteroverride
queryParametersAll → Map<String, List<String>>
Returns the URI query split into a map according to the rules specified for FORM post in the HTML 4.01 specification section 17.13.4.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scheme → String
The scheme component of the URI.
no setteroverride
uri → Uri
final
userInfo → String
The user info part of the authority component.
no setteroverride

Methods

get(Token name) → Object?
override
isScheme(String scheme) → bool
Whether the scheme of this Uri is scheme.
override
normalizePath() → Uri
Returns a URI where the path has been normalized.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeFragment() → Uri
Creates a Uri that differs from this only in not having a fragment.
override
replace({String? scheme, String? userInfo, String? host, int? port, String? path, Iterable<String>? pathSegments, String? query, Map<String, dynamic>? queryParameters, String? fragment}) → Uri
Creates a new Uri based on this one, but with some parts replaced.
override
resolve(String reference) → Uri
Resolve reference as an URI relative to this.
override
resolveUri(Uri reference) → Uri
Resolve reference as a URI relative to this.
override
toFilePath({bool? windows}) → String
Creates a file path from a file URI.
override
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited