SmimeInfo.fromJson constructor

SmimeInfo.fromJson(
  1. Map json_
)

Implementation

SmimeInfo.fromJson(core.Map json_)
    : this(
        encryptedKeyPassword: json_.containsKey('encryptedKeyPassword')
            ? json_['encryptedKeyPassword'] as core.String
            : null,
        expiration: json_.containsKey('expiration')
            ? json_['expiration'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        isDefault: json_.containsKey('isDefault')
            ? json_['isDefault'] as core.bool
            : null,
        issuerCn: json_.containsKey('issuerCn')
            ? json_['issuerCn'] as core.String
            : null,
        pem: json_.containsKey('pem') ? json_['pem'] as core.String : null,
        pkcs12: json_.containsKey('pkcs12')
            ? json_['pkcs12'] as core.String
            : null,
      );