RuntimeApiMethodMetadataV16 class

Metadata about a runtime API method (V16)

Describes a single method within a runtime API. V16 adds deprecation information to track deprecated methods.

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

Constructors

RuntimeApiMethodMetadataV16({required String name, required List<RuntimeApiMethodParamMetadataV15> inputs, required int output, List<String> docs = const [], required ItemDeprecationInfo deprecationInfo})
const

Properties

deprecationInfo ItemDeprecationInfo
Deprecation information for this method (NEW in V16)
final
docs List<String>
Documentation for this method
final
hashCode int
The hash code for this object.
no setterinherited
inputs List<RuntimeApiMethodParamMetadataV15>
Input parameters for this method
final
name String
Name of the method
final
output int
Type ID of the return value
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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 $RuntimeApiMethodMetadataV16
Codec instance for RuntimeApiMethodMetadataV16