ViewFunctionParamMetadata class

Parameter metadata for view functions (V16)

Describes a single parameter of a view function.

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

Constructors

ViewFunctionParamMetadata({required String name, required int type})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
Name of the parameter
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type int
Type ID of the parameter
final

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