SafeBrowsingResponseAction class

Class used by SafeBrowsingResponse class.

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isSupported() bool
Checks if the value is supported by the defaultTargetPlatform.
name() String
Gets the name of the value.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toNativeValue() int?
Gets int native value if supported by the current platform, otherwise null.
toString() String
A string representation of this object.
override
toValue() int
Gets int value.

Operators

operator ==(Object value) bool
The equality operator.
override

Static Properties

values Set<SafeBrowsingResponseAction>
Set of all values of SafeBrowsingResponseAction.
final

Static Methods

asNameMap() Map<String, SafeBrowsingResponseAction>
Creates a map from the names of SafeBrowsingResponseAction values to the values.
byName(String? name) SafeBrowsingResponseAction?
Gets a possible SafeBrowsingResponseAction instance value with name name.
fromNativeValue(int? value) SafeBrowsingResponseAction?
Gets a possible SafeBrowsingResponseAction instance from a native value.
fromValue(int? value) SafeBrowsingResponseAction?
Gets a possible SafeBrowsingResponseAction instance from int value.

Constants

BACK_TO_SAFETY → const SafeBrowsingResponseAction
Act as if the user clicked the "back to safety" button.
PROCEED → const SafeBrowsingResponseAction
Act as if the user clicked the "visit this unsafe site" button.
SHOW_INTERSTITIAL → const SafeBrowsingResponseAction
Display the default interstitial.