toJson method
dynamic
toJson()
Implementation
toJson() => {
'type': type,
'operations': operations?.map((e) => e.toJson()).toList(),
'description': description,
'quantity': quantity,
'unitPrice': unitPrice,
'department': department,
'idVat': idVat,
};