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;
}