SafeBrowsingResponse class Null safety

Class that represents the response used by the WebView.androidOnSafeBrowsingHit event. It is used to indicate an action to take when hitting a malicious URL.

Constructors

SafeBrowsingResponse({bool report = true, SafeBrowsingResponseAction? action = SafeBrowsingResponseAction.SHOW_INTERSTITIAL})

Properties

action SafeBrowsingResponseAction?
Indicate the SafeBrowsingResponseAction to take when hitting a malicious URL.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
report bool
If reporting is enabled, all reports will be sent according to the privacy policy referenced by AndroidInAppWebViewController.getSafeBrowsingPrivacyPolicyUrl.
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