URLProtectionSpace class

Available extensions
Annotations
  • @JsonSerializable.new(explicitToJson: true, checked: true)

Constructors

URLProtectionSpace({required String host, String? protocol, String? realm, int? port, SslCertificate? sslCertificate, SslError? sslError, URLProtectionSpaceAuthenticationMethod? authenticationMethod, List<X509Certificate>? distinguishedNames, URLProtectionSpaceProxyType? proxyType, bool? receivesCredentialSecurely})
URLProtectionSpace.fromJson(Map<String, dynamic> json)
factory

Properties

authenticationMethod → URLProtectionSpaceAuthenticationMethod?
final
distinguishedNames → List<X509Certificate>?
final
hashCode → int
The hash code for this object.
no setteroverride
host → String
final
port → int?
final
protocol → String?
final
proxyType → URLProtectionSpaceProxyType?
final
realm → String?
final
receivesCredentialSecurely → bool?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sslCertificate → SslCertificate?
final
sslError → SslError?
final

Methods

copyWith({String? host, String? protocol, String? realm, int? port, SslCertificate? sslCertificate, SslError? sslError, URLProtectionSpaceAuthenticationMethod? authenticationMethod, List<X509Certificate>? distinguishedNames, URLProtectionSpaceProxyType? proxyType, bool? receivesCredentialSecurely}) → URLProtectionSpace
copyWithField<T>(Field<URLProtectionSpace, T> field, T value) → URLProtectionSpace
Returns a copy of this entity with field set to value.
copyWithURLProtectionSpace({String? host, String? protocol, String? realm, int? port, SslCertificate? sslCertificate, SslError? sslError, URLProtectionSpaceAuthenticationMethod? authenticationMethod, List<X509Certificate>? distinguishedNames, URLProtectionSpaceProxyType? proxyType, bool? receivesCredentialSecurely}) → URLProtectionSpace
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patchWithURLProtectionSpace([URLProtectionSpacePatch? patchInput]) → URLProtectionSpace
toJson() → Map<String, dynamic>

Available on URLProtectionSpace, provided by the URLProtectionSpaceSerialization extension

toJsonLean() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override