TruecallerUserProfile.fromJson constructor

TruecallerUserProfile.fromJson(
  1. Map<String, dynamic> map
)

get the TruecallerUserProfile values from Json

Implementation

TruecallerUserProfile.fromJson(Map<String, dynamic> map)
    : firstName = map['firstName'],
      lastName = map['lastName'],
      phoneNumber = map['phoneNumber'],
      gender = map['gender'],
      street = map['street'],
      city = map['city'],
      zipcode = map['zipcode'],
      countryCode = map['countryCode'],
      facebookId = map['facebookId'],
      twitterId = map['twitterId'],
      email = map['email'],
      url = map['url'],
      avatarUrl = map['avatarUrl'],
      isTrueName = map['isTrueName'],
      isAmbassador = map['isAmbassador'],
      companyName = map['companyName'],
      jobTitle = map['jobTitle'],
      payload = map['payload'],
      signature = map['signature'],
      signatureAlgorithm = map['signatureAlgorithm'],
      requestNonce = map['requestNonce'],
      isSimChanged = map['isSimChanged'],
      verificationMode = map['verificationMode'],
      verificationTimestamp = map['verificationTimestamp'],
      userLocale = map['userLocale'],
      accessToken = map['accessToken'];