toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = <String, dynamic>{};
data['date'] = date;
data['recordDate'] = recordDate;
data['amount'] = amount;
data['declarationDate'] = declarationDate;
data['adjustedAmount'] = adjustedAmount;
data['payDate'] = payDate;
return data;
}