toJson method
Converts the object to a JSON representation.
Implementation
@override
Map<String, dynamic> toJson() {
return {
"check_id": checkId,
"amount": amount?.toJson(),
"deliver_min": deliverMin?.toJson(),
...super.toJson()
};
}