transferFrom method

Future<TransactionResponse> transferFrom(
  1. String sender,
  2. String recipient,
  3. BigInt amount
)

Transfer token from sender to recipient in amount. Emits Transfer events when called.

Implementation

Future<TransactionResponse> transferFrom(
        String sender, String recipient, BigInt amount) =>
    contract.send('transfer', [sender, recipient, amount.toString()]);