HHImmutablePayload class
Immutable version of payload for read-only contexts.
- Inheritance
-
- Object
- HHPayloadI
- HHImmutablePayload
- Available extensions
Constructors
-
HHImmutablePayload({String? env, String? key, dynamic value, required Map<
String, dynamic> ? metadata}) -
const
Properties
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