BorshMap<K, V> class

Map

An annotation for map data types.

@BorshMap(BorshString(), BorshInt64())
final Map<String, int> property;
Inheritance

Constructors

BorshMap.new(BorshAnnotation<K> keySubtype, BorshAnnotation<V> valueSubtype)
Creates an annotation for a map data type.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
keySubtype BorshAnnotation<K>
The key data type's annotation.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
valueSubtype BorshAnnotation<V>
The value data type's annotation.
final

Methods

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

Operators

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