ResolvedAuth class

The resolved headers and parameters for an auth request.

Annotations
  • @immutable

Constructors

ResolvedAuth.new({required Map<String, String> headers, required Map<String, String> params})
Create a new ResolvedAuth.
const
ResolvedAuth.noAuth()
Create a new ResolvedAuth with no headers or parameters.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
The headers of the resolved auth.
final
params Map<String, String>
The parameters of the resolved auth.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

applyToHeaders(Map<String, String> headers) → void
Apply the resolved auth to the given headers.
applyToParams(Map<String, String> params) → void
Apply the resolved auth to the given parameters.
merge(ResolvedAuth other) ResolvedAuth
Merge the given ResolvedAuth with the current ResolvedAuth.
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