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
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