VariantDeprecationInfo class sealed

Deprecation information for individual enum variants (calls, events, errors).

Note: This enum intentionally omits index 0 (NotDeprecated) since variants not in the map are implicitly not deprecated.

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

Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
isDeprecated bool
Always true since presence in map means deprecated
no setter
note String?
Get deprecation note if available
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
since String?
Get deprecation since version if available
no setter

Methods

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

Operators

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

Constants

codec → const $VariantDeprecationInfo
Codec instance for VariantDeprecationInfo