discontinuedPackage spotify_api has been discontinued.

Header class final

Annotations
  • @immutable

Constructors

Header({required String name, required String value})
const
Header.basicAuth({required String username, required String password, Encoding encoding = utf8})
factory
Header.bearerAuth(String token)
Header.contentType(ContentType type)

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → String
final

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