mergeContextDevice function

ContextDevice mergeContextDevice(
  1. ContextDevice a,
  2. ContextDevice b
)

Implementation

ContextDevice mergeContextDevice(ContextDevice a, ContextDevice b) {
  return ContextDevice(a.manufacturer, a.model, a.name, a.type,
      adTrackingEnabled: a.adTrackingEnabled ?? b.adTrackingEnabled,
      advertisingId: a.advertisingId ?? b.advertisingId,
      id: a.id ?? b.id,
      token: a.token ?? b.token,
      trackingStatus: a.trackingStatus ?? b.trackingStatus);
}