Header class

Message Header

Constructors

constructor

Properties

hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>?
headers key value
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version String
header version
getter/setter pair

Methods

add(String key, String value) Header
add key, value
get(String key) String?
get value from key return null if notfound
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBytes() Uint8List
convert to bytes
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromBytes(Uint8List b) Header
construct from bytes