KeyData.fromJson constructor

KeyData.fromJson(
  1. Map json_
)

Implementation

KeyData.fromJson(core.Map json_)
    : this(
        format: json_.containsKey('format')
            ? json_['format'] as core.String
            : null,
        key: json_.containsKey('key') ? json_['key'] as core.String : null,
        keySpec: json_.containsKey('keySpec')
            ? json_['keySpec'] as core.String
            : null,
        notAfterTime: json_.containsKey('notAfterTime')
            ? json_['notAfterTime'] as core.String
            : null,
        notBeforeTime: json_.containsKey('notBeforeTime')
            ? json_['notBeforeTime'] as core.String
            : null,
      );