Transaction_Nep5Transfer constructor

Transaction_Nep5Transfer({
  1. String? assetId,
  2. String? from,
  3. String? to,
  4. List<int>? amount,
  5. bool? scriptWithRet,
})

Implementation

factory Transaction_Nep5Transfer({
  $core.String? assetId,
  $core.String? from,
  $core.String? to,
  $core.List<$core.int>? amount,
  $core.bool? scriptWithRet,
}) {
  final $result = create();
  if (assetId != null) {
    $result.assetId = assetId;
  }
  if (from != null) {
    $result.from = from;
  }
  if (to != null) {
    $result.to = to;
  }
  if (amount != null) {
    $result.amount = amount;
  }
  if (scriptWithRet != null) {
    $result.scriptWithRet = scriptWithRet;
  }
  return $result;
}