Clawback constructor
Clawback({})
amount
The amount of currency to claw back. The issuer field is used for the token holder's
address, from whom the tokens will be clawed back.
Implementation
Clawback({
required super.account,
required this.amount,
super.memos,
super.ticketSequance,
super.signingPubKey,
super.sequence,
super.fee,
super.lastLedgerSequence,
}) : assert(() {
if (amount.issuer == account) {
return false;
}
return true;
}(), "Holder's address is wrong."),
super(transactionType: XRPLTransactionType.CLAWBACK);