transferInfo property
List<TransferInfo>
get
transferInfo
Implementation
List<TransferInfo> get transferInfo => requests.transfers
.map(
(transferRequest) => transferRequest.transfer.transferSteps.map(
(step) => TransferInfo(
ledgerId: transferRequest.ledgerId,
nonce: transferRequest.nonce.toInt(),
fromAccountId: hex.encode(step.fromAccountId),
toAccountId: hex.encode(step.toAccountId),
amount: step.amount.toInt(),
metadata: step.metadata,
),
),
)
.expand((e) => e)
.toList();