XdrTrustlineAssetBase class

Implementers

Constructors

XdrTrustlineAssetBase(XdrAssetType _type)

Properties

alphaNum12 ↔ XdrAssetAlphaNum12?
getter/setter pair
alphaNum4 ↔ XdrAssetAlphaNum4?
getter/setter pair
discriminant ↔ XdrAssetType
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
liquidityPoolID ↔ XdrHash?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type ↔ XdrAssetType
Alias for discriminant, the original XDR field name.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBase64EncodedXdrString() → String
toString() → String
A string representation of this object.
inherited
toTxRep(String prefix, List<String> lines) → void
toXdrJson() → String
Returns the SEP-0051 XDR-JSON rendering of this value.
toXdrJsonValue() → Object?
Returns the SEP-0051 rendering of this XdrTrustlineAssetBase.

Operators

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

Static Methods

decode(XdrDataInputStream stream) → XdrTrustlineAssetBase
decodeAs<T extends XdrTrustlineAssetBase>(XdrDataInputStream stream, T constructor(XdrAssetType)) → T
encode(XdrDataOutputStream stream, XdrTrustlineAssetBase encodedTrustlineAsset) → void
fromBase64EncodedXdrString(String base64Encoded) → XdrTrustlineAssetBase
fromTxRep(Map<String, String> map, String prefix) → XdrTrustlineAssetBase
fromXdrJson(String json) → XdrTrustlineAssetBase
Parses the SEP-0051 XDR-JSON rendering of a XdrTrustlineAsset.
fromXdrJsonValue(Object? value) → XdrTrustlineAssetBase
Reads a XdrTrustlineAssetBase from its SEP-0051 rendering.
fromXdrJsonValueAs<T extends XdrTrustlineAssetBase>(Object? value, T constructor(XdrAssetType)) → T
Reads a subclass of XdrTrustlineAssetBase from its SEP-0051 rendering.