Customer.fromJson constructor

Customer.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Customer.fromJson(Map<String, dynamic> json) => Customer(
      birthday: DateTimeDMYExtension.fromDMY(json['geburtsdatum']),
      firstName: json['vorname'],
      familyName: json['nachname'],
    );