VerifyChallengeResponseResult.fromJson constructor Null safety

VerifyChallengeResponseResult.fromJson(
  1. Map _json
)

Implementation

VerifyChallengeResponseResult.fromJson(core.Map _json)
    : this(
        deviceEnrollmentId: _json.containsKey('deviceEnrollmentId')
            ? _json['deviceEnrollmentId'] as core.String
            : null,
        devicePermanentId: _json.containsKey('devicePermanentId')
            ? _json['devicePermanentId'] as core.String
            : null,
        signedPublicKeyAndChallenge:
            _json.containsKey('signedPublicKeyAndChallenge')
                ? _json['signedPublicKeyAndChallenge'] as core.String
                : null,
        verificationOutput: _json.containsKey('verificationOutput')
            ? _json['verificationOutput'] as core.String
            : null,
      );