Asset constructor

Asset({
  1. Chain? chain,
  2. String? symbol,
  3. String? tokenId,
})

Implementation

factory Asset({
  Chain? chain,
  $core.String? symbol,
  $core.String? tokenId,
}) {
  final _result = create();
  if (chain != null) {
    _result.chain = chain;
  }
  if (symbol != null) {
    _result.symbol = symbol;
  }
  if (tokenId != null) {
    _result.tokenId = tokenId;
  }
  return _result;
}