PalletEventMetadataV16 class

Metadata about events in a pallet (V16)

V16 extends the base PalletEventMetadata by adding deprecation information for individual event variants. This allows runtime developers to mark specific events as deprecated while maintaining backward compatibility.

Reference: https://github.com/paritytech/frame-metadata/blob/main/frame-metadata/src/v16.rs#L271-L288

Inheritance

Constructors

PalletEventMetadataV16({required int type, required EnumDeprecationInfo deprecationInfo})
const

Properties

deprecationInfo → EnumDeprecationInfo
Deprecation information for event variants
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → int
Type ID referencing the enum of all events in this pallet
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

codec → const $PalletEventMetadataV16
Codec instance for PalletEventMetadataV16