BillDiscountVatAmountDto.fromJson constructor
Implementation
factory BillDiscountVatAmountDto.fromJson(Map<String, dynamic> json) {
return BillDiscountVatAmountDto(
percentage: double.parse(json["percentage"].toString()),
inclVat: double.parse(json["inclVat"].toString()),
exclVat: double.tryParse(json["exclVat"].toString()),
vat: double.tryParse(json["vat"].toString()),
groupId: json["groupId"] as String?,
);
}