ChangeTrustOperation class
Represents ChangeTrust operation. See: List of Operations
Constructors
-
ChangeTrustOperation(Asset asset,
String limit )
Properties
- asset → Asset
-
The asset of the trustline. For example, if a gateway extends a trustline of up to 200 USD to a user, the line is USD.
read-only
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- limit → String
-
The limit of the trustline. For example, if a gateway extends a trustline of up to 200 USD to a user, the limit is 200.
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- sourceAccount ↔ MuxedAccount
-
Returns the operation source account.
read / write, inherited
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(
XdrChangeTrustOp op ) → ChangeTrustOperationBuilder - Builds ChangeTrust operation.