toNative static method
Implementation
static LocationNative toNative(Location obj) {
return _LocationNativeInit(
mapkit_geometry_point.PointImpl.toNative(obj.position),
to_native.toNativePtrDouble(obj.accuracy),
to_native.toNativePtrDouble(obj.altitude),
to_native.toNativePtrDouble(obj.altitudeAccuracy),
to_native.toNativePtrDouble(obj.heading),
to_native.toNativePtrDouble(obj.speed),
to_native.toNativeAbsTimestamp(obj.absoluteTimestamp),
to_native.toNativeRelTimestamp(obj.relativeTimestamp),
);
}