Contact.fromJson(Map<String, dynamic> json) { id = json['id']; createdAt = json['createdAt']; name = json['name']; surname = json['surname']; phoneNumber = json['phoneNumber']; }