TorusUserInfo.fromJson constructor

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

Implementation

TorusUserInfo.fromJson(Map<String, dynamic> json)
    : email = json['email'],
      name = json['name'],
      profileImage = json['profileImage'],
      verifier = json['verifier'],
      verifierId = json['verifierId'],
      typeOfLogin = json['typeOfLogin'],
      aggregateVerifier = json['aggregateVerifier'],
      dappShare = json['dappShare'],
      idToken = json['idToken'],
      oAuthIdToken = json['oAuthIdToken'],
      oAuthAccessToken = json['oAuthAccessToken'],
      isMfaEnabled = json['isMfaEnabled'];