MacSignResponse.fromJson constructor

MacSignResponse.fromJson(
  1. Map json_
)

Implementation

MacSignResponse.fromJson(core.Map json_)
    : this(
        mac: json_.containsKey('mac') ? json_['mac'] as core.String : null,
        macCrc32c: json_.containsKey('macCrc32c')
            ? json_['macCrc32c'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        protectionLevel: json_.containsKey('protectionLevel')
            ? json_['protectionLevel'] as core.String
            : null,
        verifiedDataCrc32c: json_.containsKey('verifiedDataCrc32c')
            ? json_['verifiedDataCrc32c'] as core.bool
            : null,
      );