toString method

  1. @override
String toString()
override

A string representation of this object.

Some classes have a default textual representation, often paired with a static parse function (like int.parse). These classes will provide the textual representation as their string representation.

Other classes have no meaningful textual representation that a program will care about. Such classes will typically override toString to provide useful information when inspecting the object, mainly for debugging or logging.

Implementation

@override
String toString() {
  return 'SellOrders{createdDate: $createdDate, closingDate: $closingDate, closingExtendable: $closingExtendable, expirationTime: $expirationTime, listingTime: $listingTime, orderHash: $orderHash, metadata: $metadata, exchange: $exchange, maker: $maker, taker: $taker, currentPrice: $currentPrice, currentBounty: $currentBounty, bountyMultiple: $bountyMultiple, makerRelayerFee: $makerRelayerFee, takerRelayerFee: $takerRelayerFee, makerProtocolFee: $makerProtocolFee, takerProtocolFee: $takerProtocolFee, makerReferrerFee: $makerReferrerFee, feeRecipient: $feeRecipient, feeMethod: $feeMethod, side: $side, saleKind: $saleKind, target: $target, howToCall: $howToCall, calldata: $calldata, replacementPattern: $replacementPattern, staticTarget: $staticTarget, staticExtradata: $staticExtradata, paymentToken: $paymentToken, paymentTokenContract: $paymentTokenContract, basePrice: $basePrice, extra: $extra, quantity: $quantity, salt: $salt, v: $v, r: $r, s: $s, approvedOnChain: $approvedOnChain, cancelled: $cancelled, finalized: $finalized, markedInvalid: $markedInvalid, prefixedHash: $prefixedHash}';
}