UrlData class
Parsed URL data containing protocol, host, domain, path, etc.
Constructors
Properties
- domain → String
-
Domain only (google.com).
final
- fragment → String?
-
Fragment (#section1).
final
- fullUrl → String
-
Full normalized URL.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- host → String
-
Full host (www.google.com).
final
- path → String
-
URL path (/search/results).
final
- port → int?
-
Port number if specified.
final
- protocol → String
-
URL protocol (https, http).
final
- query → String?
-
Query string (?q=flutter&lang=en).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts to JSON map.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited