toJson method
Converts an Invoice object to a JSON object
Implementation
Map<String, dynamic> toJson() {
return {
'title': title,
'description': description,
'start_parameter': startParameter,
'currency': currency,
'total_amount': totalAmount,
}..removeWhere(_nullFilter);
}