Transfer constructor

Transfer({
  1. String? dest,
  2. List<int>? amount,
  3. int? mode,
  4. String? comment,
  5. bool? bounceable,
  6. String? stateInit,
  7. JettonTransfer? jettonTransfer,
  8. String? customPayload,
})

Implementation

factory Transfer({
  $core.String? dest,
  $core.List<$core.int>? amount,
  $core.int? mode,
  $core.String? comment,
  $core.bool? bounceable,
  $core.String? stateInit,
  JettonTransfer? jettonTransfer,
  $core.String? customPayload,
}) {
  final $result = create();
  if (dest != null) {
    $result.dest = dest;
  }
  if (amount != null) {
    $result.amount = amount;
  }
  if (mode != null) {
    $result.mode = mode;
  }
  if (comment != null) {
    $result.comment = comment;
  }
  if (bounceable != null) {
    $result.bounceable = bounceable;
  }
  if (stateInit != null) {
    $result.stateInit = stateInit;
  }
  if (jettonTransfer != null) {
    $result.jettonTransfer = jettonTransfer;
  }
  if (customPayload != null) {
    $result.customPayload = customPayload;
  }
  return $result;
}