UserInfoProviderUserInfo.fromJson constructor

UserInfoProviderUserInfo.fromJson(
  1. Map json_
)

Implementation

UserInfoProviderUserInfo.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,
      );