IdpCredential.fromJson constructor

IdpCredential.fromJson(
  1. Map json_
)

Implementation

IdpCredential.fromJson(core.Map json_)
    : this(
        dsaKeyInfo: json_.containsKey('dsaKeyInfo')
            ? DsaPublicKeyInfo.fromJson(
                json_['dsaKeyInfo'] as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        rsaKeyInfo: json_.containsKey('rsaKeyInfo')
            ? RsaPublicKeyInfo.fromJson(
                json_['rsaKeyInfo'] as core.Map<core.String, core.dynamic>)
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );