HTTPHeader class

HTTPHeader describes a custom header to be used in HTTP probes.

Constructors

HTTPHeader({required String name, required String value})
Default constructor.
const
HTTPHeader.fromJson(Map<String, dynamic> json)
Creates a HTTPHeader from JSON data.
factory

Properties

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a HTTPHeader instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

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