Asset constructor

Asset({
  1. Int64? amount,
  2. int? decimals,
  3. String? symbol,
})

Implementation

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