toJson method

  1. @override
Map<String, dynamic> toJson()
override

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()
  };
}