GuestInfo.fromJson constructor

GuestInfo.fromJson(
  1. dynamic json
)

Implementation

GuestInfo.fromJson(dynamic json) {
  phone = json['phone'];
  fullName = json['full_name'];
  email = json['email'];
  contactId = json['contact_id'];
  newContact = json['new_contact'];
  uuid = json['uuid'];
  domain = json['domain'];
  browser = json['browser'];
  ip = json['ip'];
  address = json['address'];
  lat = json['lat'];
  lon = json['lon'];
  otherInfo = json['other_info'] != null
      ? OtherInfo.fromJson(json['other_info'])
      : null;
}