toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'fullyPaid'] = fullyPaid;
  json[r'isInvoice'] = isInvoice;
  json[r'valueDue'] = valueDue;
  json[r'description'] = description;
  json[r'date'] = date.toUtc().toIso8601String();
  json[r'invoiced'] = invoiced;
  json[r'paid'] = paid;
  json[r'balance'] = balance;
  json[r'documentId'] = documentId;
  return json;
}