HHImmutablePayload class

Immutable version of payload for read-only contexts.

Inheritance
Available extensions

Constructors

HHImmutablePayload({String? env, String? key, dynamic value, required Map<String, dynamic>? metadata})
const

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}) HHImmutablePayload
fromMutable(HHPayload payload) HHImmutablePayload
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