Contact.fromJson constructor

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

Implementation

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