toJson method
Converts the object to a JSON representation.
Implementation
@override
Map<String, dynamic> toJson() {
return {
"taker_gets": takerGets.toJson(),
"taker_pays": takerPays.toJson(),
"expiration": expiration,
"offer_sequence": offerSequence,
...super.toJson()
};
}