IOSWKNavigationResponse class Null safety

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


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


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


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


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

Static Methods

fromMap(Map<String, dynamic>? map) IOSWKNavigationResponse?