THORChainAsset constructor

THORChainAsset({
  1. String? chain,
  2. String? symbol,
  3. String? ticker,
  4. bool? synth,
  5. bool? trade,
  6. bool? secured,
})

Implementation

factory THORChainAsset({
  $core.String? chain,
  $core.String? symbol,
  $core.String? ticker,
  $core.bool? synth,
  $core.bool? trade,
  $core.bool? secured,
}) {
  final result = create();
  if (chain != null) result.chain = chain;
  if (symbol != null) result.symbol = symbol;
  if (ticker != null) result.ticker = ticker;
  if (synth != null) result.synth = synth;
  if (trade != null) result.trade = trade;
  if (secured != null) result.secured = secured;
  return result;
}