InAppWebViewInitialData class Null safety

Initial data as a content for an WebView instance, using baseUrl as the base URL for it.


InAppWebViewInitialData({required String data, String mimeType, String encoding, Uri? baseUrl, Uri? androidHistoryUrl})


androidHistoryUrl Uri
The URL to use as the history entry. The default value is about:blank. If non-null, this must be a valid URL. [...]
read / write
baseUrl Uri
The URL to use as the page's base URL. The default value is about:blank.
read / write
data String
A String of data in the given encoding.
read / write
encoding String
The encoding of the data. The default value is "utf8".
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
mimeType String
The MIME type of the data, e.g. "text/html". The default value is "text/html".
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, String>
toMap() Map<String, String>
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]