InvoiceRecipient.fromJson constructor
InvoiceRecipient.fromJson(
- Map<String, dynamic> j
)
Implementation
factory InvoiceRecipient.fromJson(Map<String, dynamic> j) => InvoiceRecipient(
name: _pflicht<String>(j, 'name'),
type: _pflicht<String>(j, 'type'),
street: _text(j, 'street'),
houseNumber: _text(j, 'houseNumber'),
zip: _text(j, 'zip'),
city: _text(j, 'city'),
country: _pflicht<String>(j, 'country'),
vatId: _text(j, 'vatId'),
shortCode: _text(j, 'shortCode'),
email: _text(j, 'email'),
isAuthority: j['isAuthority'] == true,
);