fromNative static method
Implementation
static SensorMeasurement fromNative(SensorMeasurementNative native, {bool takeOwnership = true}) {
return SensorMeasurement(
SensorTypeImpl.fromInt(native.type),
Vector3dImpl.fromNative(native.values, takeOwnership: takeOwnership),
native.time,
);
}