DownloadStartRequest class
Class representing a download request of the WebView used by the event PlatformWebViewCreationParams.onDownloadStartRequest.
Constructors
Properties
- contentDisposition ↔ String?
-
Content-disposition http header, if present.
getter/setter pair
- contentLength ↔ int
-
The file size reported by the server.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- mimeType ↔ String?
-
The mimetype of the content reported by the server.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- suggestedFilename ↔ String?
-
A suggested filename to use if saving the resource to disk.
getter/setter pair
- textEncodingName ↔ String?
-
The name of the text encoding of the receiver, or
null
if no text encoding was specified.getter/setter pair - url ↔ WebUri
-
The full url to the content that should be downloaded.
getter/setter pair
- userAgent ↔ String?
-
the user agent to be used for the download.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts instance to a map.
-
toMap(
) → Map< String, dynamic> - Converts instance to a map.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< String, dynamic> ? map) → DownloadStartRequest? - Gets a possible DownloadStartRequest instance from a Map value.