SecureContextType class Null safety

Indicates whether the frame is a secure context and why it is the case.

Constructors

SecureContextType.fromJson(String value)
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value String
final

Methods

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

Operators

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

Constants

insecureAncestor → const SecureContextType
SecureContextType._('InsecureAncestor')
insecureScheme → const SecureContextType
SecureContextType._('InsecureScheme')
secure → const SecureContextType
SecureContextType._('Secure')
secureLocalhost → const SecureContextType
SecureContextType._('SecureLocalhost')
values → const Map<String, SecureContextType>
{'Secure' : secure, 'SecureLocalhost' : secureLocalhost, 'InsecureScheme' : insecureScheme, 'InsecureAncestor' : insecureAncestor}