VerifyChallengeResponseResult.fromJson constructor

VerifyChallengeResponseResult.fromJson(
  1. Map json_
)

Implementation

VerifyChallengeResponseResult.fromJson(core.Map json_)
    : this(
        attestedDeviceId: json_.containsKey('attestedDeviceId')
            ? json_['attestedDeviceId'] as core.String
            : null,
        customerId: json_.containsKey('customerId')
            ? json_['customerId'] as core.String
            : null,
        deviceEnrollmentId: json_.containsKey('deviceEnrollmentId')
            ? json_['deviceEnrollmentId'] as core.String
            : null,
        devicePermanentId: json_.containsKey('devicePermanentId')
            ? json_['devicePermanentId'] as core.String
            : null,
        deviceSignal: json_.containsKey('deviceSignal')
            ? json_['deviceSignal'] as core.String
            : null,
        deviceSignals: json_.containsKey('deviceSignals')
            ? DeviceSignals.fromJson(
                json_['deviceSignals'] as core.Map<core.String, core.dynamic>)
            : null,
        keyTrustLevel: json_.containsKey('keyTrustLevel')
            ? json_['keyTrustLevel'] as core.String
            : null,
        profileCustomerId: json_.containsKey('profileCustomerId')
            ? json_['profileCustomerId'] as core.String
            : null,
        profileKeyTrustLevel: json_.containsKey('profileKeyTrustLevel')
            ? json_['profileKeyTrustLevel'] as core.String
            : null,
        signedPublicKeyAndChallenge:
            json_.containsKey('signedPublicKeyAndChallenge')
                ? json_['signedPublicKeyAndChallenge'] as core.String
                : null,
        virtualDeviceId: json_.containsKey('virtualDeviceId')
            ? json_['virtualDeviceId'] as core.String
            : null,
        virtualProfileId: json_.containsKey('virtualProfileId')
            ? json_['virtualProfileId'] as core.String
            : null,
      );