SetAccountInfoResponseProviderUserInfo.fromJson constructor

SetAccountInfoResponseProviderUserInfo.fromJson(
  1. Map _json
)

Implementation

SetAccountInfoResponseProviderUserInfo.fromJson(core.Map _json)
    : this(
        displayName: _json.containsKey('displayName')
            ? _json['displayName'] as core.String
            : null,
        federatedId: _json.containsKey('federatedId')
            ? _json['federatedId'] as core.String
            : null,
        photoUrl: _json.containsKey('photoUrl')
            ? _json['photoUrl'] as core.String
            : null,
        providerId: _json.containsKey('providerId')
            ? _json['providerId'] as core.String
            : null,
      );