AllowTrustOperation class

Updates the "authorized" flag of an existing trust line this is called by the issuer of the related asset.

note that authorize can only be set (and not cleared) if the issuer account does not have the AUTH_REVOCABLE_FLAG set

Threshold: low Result: AllowTrustResult

Inheritance

Constructors

AllowTrustOperation({required StellarPublicKey trustor, required AssetCode asset, required TrustAuthFlag authorize})
AllowTrustOperation.fromStruct(Map<String, dynamic> json)
factory

Properties

asset → AssetCode
final
authorize → TrustAuthFlag
One of 0, AUTHORIZED_FLAG, or AUTHORIZED_TO_MAINTAIN_LIABILITIES_FLAG
final
hashCode → int
The hash code for this object.
no setterinherited
level → OperationLevel
no setteroverride
operationType → OperationType
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
trustor → StellarPublicKey
final
variantName → String
no setterinherited

Methods

cast<T extends OperationBody>() → T
inherited
createLayout({String? property}) → Layout<Map<String, dynamic>>
override
createVariantLayout({String? property}) → Layout<Map<String, dynamic>>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
override
toLayoutStruct() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited
toVariantLayoutStruct() → Map<String, dynamic>
inherited
toVariantXDR({String? property}) → BuBytes
inherited
toVariantXDRBase64() → String
inherited
toVariantXDRHex() → String
inherited
toXDR({String? property}) → BuBytes
inherited
toXDRBase64() → String
inherited
toXDRHex() → String
inherited

Operators

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

Static Methods

layout({String? property}) → Layout<Map<String, dynamic>>
override