Secret.fromJson constructor

Secret.fromJson(
  1. Map _json
)

Implementation

Secret.fromJson(core.Map _json)
    : this(
        cipherText: _json.containsKey('cipherText')
            ? _json['cipherText'] as core.String
            : null,
        keyName: _json.containsKey('keyName')
            ? _json['keyName'] as core.String
            : null,
      );