ESDTTransfer constructor

ESDTTransfer({
  1. Accounts? accounts,
  2. String? tokenIdentifier,
  3. String? amount,
})

Implementation

factory ESDTTransfer({
  Accounts? accounts,
  $core.String? tokenIdentifier,
  $core.String? amount,
}) {
  final _result = create();
  if (accounts != null) {
    _result.accounts = accounts;
  }
  if (tokenIdentifier != null) {
    _result.tokenIdentifier = tokenIdentifier;
  }
  if (amount != null) {
    _result.amount = amount;
  }
  return _result;
}