google preperation 1

This commit is contained in:
2026-10-26 20:48:16 +01:00
parent 9a65ff7ad4
commit 3b50cb0fe9
47 changed files with 4969 additions and 4580 deletions
+22
View File
@@ -0,0 +1,22 @@
class Contact {
final String firstName;
final String lastName;
final String phone;
final String email;
const Contact({
required this.firstName,
required this.lastName,
required this.phone,
required this.email,
});
String get fullName => '$firstName $lastName';
factory Contact.fromJson(Map<String, dynamic> json) => Contact(
firstName: json['firstName'] ?? '',
lastName: json['lastName'] ?? '',
phone: json['phone'] ?? '',
email: json['email'] ?? '',
);
}