HHPayload class

Mutable payload containing operation data (key, value, metadata, environment).

Inheritance
Available extensions

Constructors

HHPayload({String? env, String? key, dynamic value, Map<String, dynamic>? metadata})

Properties

env String?
final
hashCode int
The hash code for this object.
no setterinherited
isMutable bool
no setterinherited
key String?
final
metadata Map<String, dynamic>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → dynamic
final

Methods

asImmutable() HHImmutablePayload

Available on HHPayloadI, provided by the HHPayloadExtensions extension

asMutable() HHPayload

Available on HHPayloadI, provided by the HHPayloadExtensions extension

copyWith({String? env, String? key, dynamic value, Map<String, dynamic>? metadata}) HHPayload
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