BarcodeContactInfo.fromJson constructor

BarcodeContactInfo.fromJson(
  1. Map json
)

Returns an instance of BarcodeContactInfo from a given json.

Implementation

factory BarcodeContactInfo.fromJson(Map<dynamic, dynamic> json) =>
    BarcodeContactInfo(
      addresses: _getBarcodeAddresses(json),
      emails: _getBarcodeEmails(json),
      phoneNumbers: _getBarcodePhones(json),
      firstName: json['firstName'],
      middleName: json['middleName'],
      lastName: json['lastName'],
      formattedName: json['formattedName'],
      prefix: json['prefix'],
      pronunciation: json['pronunciation'],
      jobTitle: json['jobTitle'],
      organizationName: json['organization'],
      urls: _getUrls(json['urls']),
    );