fromNative static method

BeaconProximityEntry fromNative(
  1. BeaconProximityEntryNative native, {
  2. bool takeOwnership = true,
})

Implementation

static BeaconProximityEntry fromNative(BeaconProximityEntryNative native, {bool takeOwnership = true})  {
    return BeaconProximityEntry(
      native.major,
      native.minor,
      toPlatformString(native.uuid, takeOwnership: takeOwnership),
      native.rssi,
      native.frequency,
      native.quality,
      toPlatformFromPointerFloat(native.distance),
    );
}