TaxRule.fromJson constructor
Restores a tax rule from VPS-compatible JSON.
Implementation
factory TaxRule.fromJson(Map<String, dynamic> json) => TaxRule(
label: json['label'] ?? 'MwSt.',
rate: (json['rate'] ?? 19).toDouble(),
filterField: json['filterField'] ?? '',
filterValue: json['filterValue']?.toString() ?? '',
);