HeaderOperations class

Describes the header manipulations to apply.

Constructors

HeaderOperations({Map<String, String>? set, Map<String, String>? add, List<String>? remove})
The main constructor.
const
HeaderOperations.fromJson(Map<String, dynamic> json)
Creates a HeaderOperations from JSON data.

Properties

add Map<String, String>?
Append the given values to the headers specified by keys (will create a comma-separated list of values).
final
hashCode int
The hash code for this object.
no setterinherited
remove List<String>?
Remove a the specified headers
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
set Map<String, String>?
Overwrite the headers specified by key with the given values.
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