AsymmetricSignResponse.fromJson constructor

AsymmetricSignResponse.fromJson(
  1. Map json_
)

Implementation

AsymmetricSignResponse.fromJson(core.Map json_)
    : this(
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        protectionLevel: json_.containsKey('protectionLevel')
            ? json_['protectionLevel'] as core.String
            : null,
        signature: json_.containsKey('signature')
            ? json_['signature'] as core.String
            : null,
        signatureCrc32c: json_.containsKey('signatureCrc32c')
            ? json_['signatureCrc32c'] as core.String
            : null,
        verifiedDataCrc32c: json_.containsKey('verifiedDataCrc32c')
            ? json_['verifiedDataCrc32c'] as core.bool
            : null,
        verifiedDigestCrc32c: json_.containsKey('verifiedDigestCrc32c')
            ? json_['verifiedDigestCrc32c'] as core.bool
            : null,
      );