WireRequestParts class

Immutable wire parts: headers and body.

HINT: Attach headers to your HTTP request and body as the string payload.

Annotations
  • @immutable

Constructors

WireRequestParts.new({required Map<String, String> headers, required String body})
const

Properties

body String
Body string (Base64 HMAC tag).
final
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
HTTP-compatible headers containing the protocol fields.
final
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
toString() String
A string representation of this object.
inherited

Operators

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