URLCredential class Null safety

Class that represents an authentication credential consisting of information specific to the type of credential and the type of persistent storage to use, if any.

Constructors

URLCredential({String? username, String? password, IOSURLCredentialPersistence? iosPersistence, List<X509Certificate>? iosCertificates})

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
iosCertificates List<X509Certificate>?
The intermediate certificates of the credential, if it is a client certificate credential. [...]
read / write
iosPersistence IOSURLCredentialPersistence?
The credential’s persistence setting. [...]
read / write
password String?
The credential’s password.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
username String?
The credential’s user name.
read / write

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

Static Methods

fromMap(Map<String, dynamic>? map) URLCredential?