ServerTrustNetworkCredential class

A network credential that specifies that a server should be trusted.

Inheritance

Constructors

ServerTrustNetworkCredential.new({required String host})
Creates a ServerTrustNetworkCredential that trusts the given host.
ServerTrustNetworkCredential.forChallenge(ServerTrustAuthenticationChallenge challenge)
Creates a ServerTrustNetworkCredential for the server specified in the ServerTrustAuthenticationChallenge.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
host String
The server host this credential applies to.
finalinherited
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
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited