ContextDevice.fromNative constructor

ContextDevice.fromNative(
  1. NativeContextDevice nativeContextDevice
)

Implementation

ContextDevice.fromNative(NativeContextDevice nativeContextDevice)
    : id = nativeContextDevice.id,
      manufacturer = nativeContextDevice.manufacturer ?? "",
      model = nativeContextDevice.model ?? "",
      name = nativeContextDevice.name ?? "",
      type = nativeContextDevice.type ?? "",
      adTrackingEnabled = nativeContextDevice.adTrackingEnabled,
      advertisingId = nativeContextDevice.advertisingId,
      trackingStatus = nativeContextDevice.trackingStatus,
      token = nativeContextDevice.token;