AppIntegrity.fromJson constructor

AppIntegrity.fromJson(
  1. Map json_
)

Implementation

AppIntegrity.fromJson(core.Map json_)
    : this(
        appRecognitionVerdict: json_.containsKey('appRecognitionVerdict')
            ? json_['appRecognitionVerdict'] as core.String
            : null,
        certificateSha256Digest: json_.containsKey('certificateSha256Digest')
            ? (json_['certificateSha256Digest'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        packageName: json_.containsKey('packageName')
            ? json_['packageName'] as core.String
            : null,
        versionCode: json_.containsKey('versionCode')
            ? json_['versionCode'] as core.String
            : null,
      );