OperationPayment constructor

OperationPayment({
  1. String? destination,
  2. Asset? asset,
  3. Int64? amount,
})

Implementation

factory OperationPayment({
  $core.String? destination,
  Asset? asset,
  $fixnum.Int64? amount,
}) {
  final _result = create();
  if (destination != null) {
    _result.destination = destination;
  }
  if (asset != null) {
    _result.asset = asset;
  }
  if (amount != null) {
    _result.amount = amount;
  }
  return _result;
}