Transfer constructor

Transfer({
  1. bool? bounce,
  2. MessageBehavior? behavior,
  3. Int64? amount,
  4. int? expiredAt,
  5. String? to,
  6. String? encodedContractData,
})

Implementation

factory Transfer({
  $core.bool? bounce,
  MessageBehavior? behavior,
  $fixnum.Int64? amount,
  $core.int? expiredAt,
  $core.String? to,
  $core.String? encodedContractData,
}) {
  final _result = create();
  if (bounce != null) {
    _result.bounce = bounce;
  }
  if (behavior != null) {
    _result.behavior = behavior;
  }
  if (amount != null) {
    _result.amount = amount;
  }
  if (expiredAt != null) {
    _result.expiredAt = expiredAt;
  }
  if (to != null) {
    _result.to = to;
  }
  if (encodedContractData != null) {
    _result.encodedContractData = encodedContractData;
  }
  return _result;
}