Mint constructor

Mint({
  1. AccountIdentifier? to,
  2. ICPTs? amount,
})

Implementation

factory Mint({
  AccountIdentifier? to,
  ICPTs? amount,
}) {
  final _result = create();
  if (to != null) {
    _result.to = to;
  }
  if (amount != null) {
    _result.amount = amount;
  }
  return _result;
}