DVCredentialedOrigins class

Properties

hashCode → int
The hash code for this object.
no setterinherited
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

Static Properties

origins → Set<String>
The origins named so far, as scheme://host:port.
no setter

Static Methods

allow(String origin) → void
Sends credentials to origin -- https://api.example.com -- from now on.
allowBackend(String baseUrl) → String?
Names the origin of the generated client's backend, baseUrl, and answers null -- or, when it cannot be named, why.
clear() → void
Forgets every origin. For a test.
includes(Uri url) → bool
Whether a request to url carries credentials.