ESDTNFTTransfer constructor

ESDTNFTTransfer({
  1. Accounts? accounts,
  2. String? tokenCollection,
  3. Int64? tokenNonce,
  4. String? amount,
})

Implementation

factory ESDTNFTTransfer({
  Accounts? accounts,
  $core.String? tokenCollection,
  $fixnum.Int64? tokenNonce,
  $core.String? amount,
}) {
  final _result = create();
  if (accounts != null) {
    _result.accounts = accounts;
  }
  if (tokenCollection != null) {
    _result.tokenCollection = tokenCollection;
  }
  if (tokenNonce != null) {
    _result.tokenNonce = tokenNonce;
  }
  if (amount != null) {
    _result.amount = amount;
  }
  return _result;
}