21 lines
513 B
Dart
21 lines
513 B
Dart
class ContactsModel {
|
|
late String phone;
|
|
late String mail;
|
|
late String address;
|
|
late String workHours;
|
|
|
|
ContactsModel({
|
|
required this.phone,
|
|
required this.mail,
|
|
required this.address,
|
|
required this.workHours,
|
|
});
|
|
|
|
ContactsModel.fromJson(Map<String, dynamic> json) {
|
|
phone = json['phone'];
|
|
mail = json['mail'] ?? 'support@tehnikadunyasi.com';
|
|
address = json['address'];
|
|
workHours = json['work_hours'] ?? 'Duşenbe - Anna: 09:00 - 18:00 \nŞenbe: 09:00 - 13:00';
|
|
}
|
|
}
|