toJson method
Convert the MarketSellAssetContract object to a JSON representation.
Implementation
@override
Map<String, dynamic> toJson() {
return {
"owner_address": ownerAddress.toString(),
"sell_token_id": BytesUtils.tryToHexString(sellTokenId),
"sell_token_quantity": sellTokenQuantity?.toString(),
"buy_token_id": BytesUtils.tryToHexString(buyTokenId),
"buy_token_quantity": buyTokenQuantity?.toString(),
};
}