TransferStepDoc.fromFields constructor
TransferStepDoc.fromFields({})
Implementation
TransferStepDoc.fromFields({
required String fromAccountId,
required String toAccountId,
required int amount,
List<Any> metadata = const [],
}) : super(
TransferStep()
..fromAccountId = hex.decode(fromAccountId)
..toAccountId = hex.decode(toAccountId)
..amount = Int64(amount)
..setMetadata(metadata),
);