Contact.fromJson constructor

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

Parse from a json

Implementation

Contact.fromJson(Map<String, dynamic> json) {
  this.phoneNumber = json['phone_number'];
  this.firstName = json['first_name'];
  this.lastName = json['last_name'];
  this.vcard = json['vcard'];
  this.userId = json['user_id'];
}