Header<T> class abstract

Header data.

Encoding follows OpenAPI-Specification.

Constructors

Creates a new header object.
factory

Properties

content → T
The decoded value of the header.
no setter
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
rebuild(dynamic updates(HeaderBuilder<T>)) Header<T>
Rebuilds the instance.
inherited
toBuilder() HeaderBuilder<T>
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

serializer → Serializer<Header<Object?>>
The serializer for a header object.
no setter