TokenEntry constructor

TokenEntry({
  1. String? tokenId,
  2. TokenType? tokenType,
  3. TokenTxType? txType,
  4. String? groupTokenId,
  5. bool? isInvalid,
  6. String? burnSummary,
  7. Iterable<TokenFailedColoring>? failedColorings,
  8. String? actualBurnAtoms,
  9. Int64? intentionalBurnAtoms,
  10. bool? burnsMintBatons,
})

Implementation

factory TokenEntry({
  $core.String? tokenId,
  TokenType? tokenType,
  TokenTxType? txType,
  $core.String? groupTokenId,
  $core.bool? isInvalid,
  $core.String? burnSummary,
  $core.Iterable<TokenFailedColoring>? failedColorings,
  $core.String? actualBurnAtoms,
  $fixnum.Int64? intentionalBurnAtoms,
  $core.bool? burnsMintBatons,
}) {
  final result = create();
  if (tokenId != null) result.tokenId = tokenId;
  if (tokenType != null) result.tokenType = tokenType;
  if (txType != null) result.txType = txType;
  if (groupTokenId != null) result.groupTokenId = groupTokenId;
  if (isInvalid != null) result.isInvalid = isInvalid;
  if (burnSummary != null) result.burnSummary = burnSummary;
  if (failedColorings != null) result.failedColorings.addAll(failedColorings);
  if (actualBurnAtoms != null) result.actualBurnAtoms = actualBurnAtoms;
  if (intentionalBurnAtoms != null)
    result.intentionalBurnAtoms = intentionalBurnAtoms;
  if (burnsMintBatons != null) result.burnsMintBatons = burnsMintBatons;
  return result;
}