AllowTrustOperation class Null safety

Represents AllowTrust operation. See List of Operations

Inheritance

Constructors

AllowTrustOperation(String _trustor, String _assetCode, bool _authorize, bool _authorizeToMaintainLiabilities)

Properties

assetCode String
The asset of the trustline the source account is authorizing. For example, if a gateway wants to allow another account to hold its USD credit, the type is USD.
read-only
authorize bool
Flag indicating whether the trustline is authorized.
read-only
authorizeToMaintainLiabilities bool
Flag indicating whether the trustline is authorized to maintain liabilities.
read-only
hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sourceAccount MuxedAccount?
Returns the operation source account.
read / write, inherited
trustor String
The account id of the recipient of the trustline.
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toOperationBody() XdrOperationBody
Generates OperationBody XDR object.
override
toString() String
A string representation of this object.
inherited
toXdr() XdrOperation
inherited
toXdrBase64() String
Returns base64-encoded Operation XDR object from this operation.
inherited

Operators

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

Static Methods

builder(XdrAllowTrustOp op) AllowTrustOperationBuilder
Builds AllowTrust operation.