WebViewRequest class

Defines the parameters that can be used to load a page in the WebView.

Constructors

WebViewRequest({required Uri uri, required WebViewRequestMethod method, Map<String, String> headers = const <String, String>{}, Uint8List? body})
Creates the WebViewRequest.

Properties

body Uint8List?
HTTP body for the request.
final
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
Headers for the request.
final
method WebViewRequestMethod
HTTP method used to make the request.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri Uri
URI for the request.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes the WebViewRequest to JSON.
toString() String
A string representation of this object.
inherited

Operators

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