IOSWKNavigationResponse class

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.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isForMainFrame bool
A Boolean value that indicates whether the response targets the web view’s main frame.
getter/setter pair
response IOSURLResponse?
The URL for the response.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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?