BorshObjectMixin mixin
Borsh Object Mixin
Properties
-
borshSchema
→ BorshSchema
-
Maps
this
class' properties to codecs.
no setter
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
borshSize()
→ int
-
Returns the serialized byte length of
this
instance.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toBorsh()
→ Iterable<int>
-
Serializes
this
instance into a buffer.
-
toJson()
→ dynamic
-
Serialises
this
class into a JSON object.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Properties
-
borshCodec
→ BorshStructTypedCodec<BorshCodec>
-
The encoders/decoders of
this
class' properties.
no setter