toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'paymentDate'] = paymentDate;
if (paymentType != null) {
json[r'paymentType'] = paymentType;
}
if (paid != null) {
json[r'paid'] = paid;
}
return json;
}