GetSlpTrustedValidationResponse_ValidityResult constructor

GetSlpTrustedValidationResponse_ValidityResult({
  1. List<int>? prevOutHash,
  2. int? prevOutVout,
  3. List<int>? tokenId,
  4. SlpAction? slpAction,
  5. SlpTokenType? tokenType,
  6. Int64? v1TokenAmount,
  7. bool? v1MintBaton,
  8. List<int>? slpTxnOpreturn,
  9. int? graphsearchTxnCount,
})

Implementation

factory GetSlpTrustedValidationResponse_ValidityResult({
  $core.List<$core.int>? prevOutHash,
  $core.int? prevOutVout,
  $core.List<$core.int>? tokenId,
  SlpAction? slpAction,
  SlpTokenType? tokenType,
  $fixnum.Int64? v1TokenAmount,
  $core.bool? v1MintBaton,
  $core.List<$core.int>? slpTxnOpreturn,
  $core.int? graphsearchTxnCount,
}) {
  final _result = create();
  if (prevOutHash != null) {
    _result.prevOutHash = prevOutHash;
  }
  if (prevOutVout != null) {
    _result.prevOutVout = prevOutVout;
  }
  if (tokenId != null) {
    _result.tokenId = tokenId;
  }
  if (slpAction != null) {
    _result.slpAction = slpAction;
  }
  if (tokenType != null) {
    _result.tokenType = tokenType;
  }
  if (v1TokenAmount != null) {
    _result.v1TokenAmount = v1TokenAmount;
  }
  if (v1MintBaton != null) {
    _result.v1MintBaton = v1MintBaton;
  }
  if (slpTxnOpreturn != null) {
    _result.slpTxnOpreturn = slpTxnOpreturn;
  }
  if (graphsearchTxnCount != null) {
    _result.graphsearchTxnCount = graphsearchTxnCount;
  }
  return _result;
}