transfer method

Future<TransactionResponse> transfer(
  1. String recipient,
  2. BigInt amount
)

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

Implementation

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