IOSWKNavigationResponse class Null safety

An iOS-specific Class that represents the navigation response used by the WebView.iosOnNavigationResponse event.

Constructors

IOSWKNavigationResponse({IOSURLResponse? response, required bool isForMainFrame, required bool canShowMIMEType})

Properties

canShowMIMEType bool
A Boolean value that indicates whether WebKit is capable of displaying the response’s MIME type natively.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
isForMainFrame bool
A Boolean value that indicates whether the response targets the web view’s main frame.
read / write
response IOSURLResponse?
The URL for the response.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toMap() Map<String, dynamic>
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) IOSWKNavigationResponse?