WebPage class final
A fetched web page: status, content type, and decoded body.
Constructors
Properties
- body → String
-
Decoded response body (possibly cut at the byte cap).
final
- contentType → String
-
Lowercased MIME type without parameters (empty when unknown).
final
- finalUrl → Uri
-
The URL after redirects (same as url when none).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- ok → bool
-
Whether the status is 2xx.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int
-
HTTP status code.
final
- truncated → bool
-
Whether body was cut mid-stream at the byte cap.
final
- url → Uri
-
The originally requested URL.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited