toJson method
Creates a json from the object
Implementation
Map toJson() {
return {
'title': title,
'description': description,
'start_parameter': startParameter,
'currency': currency,
'total_amount': totalAmount,
}..removeWhere((_, v) => v == null);
}