GoogleCloudIdentitytoolkitV1ProviderUserInfo.fromJson constructor

GoogleCloudIdentitytoolkitV1ProviderUserInfo.fromJson(
  1. Map _json
)

Implementation

GoogleCloudIdentitytoolkitV1ProviderUserInfo.fromJson(core.Map _json)
    : this(
        displayName: _json.containsKey('displayName')
            ? _json['displayName'] as core.String
            : null,
        email:
            _json.containsKey('email') ? _json['email'] as core.String : null,
        federatedId: _json.containsKey('federatedId')
            ? _json['federatedId'] as core.String
            : null,
        phoneNumber: _json.containsKey('phoneNumber')
            ? _json['phoneNumber'] as core.String
            : null,
        photoUrl: _json.containsKey('photoUrl')
            ? _json['photoUrl'] as core.String
            : null,
        providerId: _json.containsKey('providerId')
            ? _json['providerId'] as core.String
            : null,
        rawId:
            _json.containsKey('rawId') ? _json['rawId'] as core.String : null,
        screenName: _json.containsKey('screenName')
            ? _json['screenName'] as core.String
            : null,
      );