ItemDeprecationInfo class sealed

Deprecation information for metadata items (pallets, storage, constants, APIs).

V16 introduces deprecation tracking to allow runtime developers to mark components as deprecated while maintaining backward compatibility.

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

Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
isDeprecated bool
Check if this item is 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 $ItemDeprecationInfo
Codec instance for ItemDeprecationInfo