toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (attestedDeviceId != null) 'attestedDeviceId': attestedDeviceId!,
      if (customerId != null) 'customerId': customerId!,
      if (deviceEnrollmentId != null)
        'deviceEnrollmentId': deviceEnrollmentId!,
      if (devicePermanentId != null) 'devicePermanentId': devicePermanentId!,
      if (deviceSignal != null) 'deviceSignal': deviceSignal!,
      if (deviceSignals != null) 'deviceSignals': deviceSignals!,
      if (keyTrustLevel != null) 'keyTrustLevel': keyTrustLevel!,
      if (profileCustomerId != null) 'profileCustomerId': profileCustomerId!,
      if (profileKeyTrustLevel != null)
        'profileKeyTrustLevel': profileKeyTrustLevel!,
      if (signedPublicKeyAndChallenge != null)
        'signedPublicKeyAndChallenge': signedPublicKeyAndChallenge!,
      if (virtualDeviceId != null) 'virtualDeviceId': virtualDeviceId!,
      if (virtualProfileId != null) 'virtualProfileId': virtualProfileId!,
    };