MacVerifyResponse.fromJson constructor

MacVerifyResponse.fromJson(
  1. Map json_
)

Implementation

MacVerifyResponse.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,
        success: json_.containsKey('success')
            ? json_['success'] as core.bool
            : null,
        verifiedDataCrc32c: json_.containsKey('verifiedDataCrc32c')
            ? json_['verifiedDataCrc32c'] as core.bool
            : null,
        verifiedMacCrc32c: json_.containsKey('verifiedMacCrc32c')
            ? json_['verifiedMacCrc32c'] as core.bool
            : null,
        verifiedSuccessIntegrity:
            json_.containsKey('verifiedSuccessIntegrity')
                ? json_['verifiedSuccessIntegrity'] as core.bool
                : null,
      );