neptrack_core 0.2.1
neptrack_core: ^0.2.1 copied to clipboard
Pure Dart SDK for the NepTrack REST API — vehicles, history, reports, alarms, motion logs, geofences and engine commands.
Changelog #
0.2.1 — 2026-05-11 #
Changed #
- README: removed the custom-endpoints / self-hosted section (NepTrack is not offered self-hosted).
0.2.0 — 2026-05-11 #
Added #
NeptrackStreamClient— Socket.IO v2 client for the real-time Data Stream API. Exposespositions,alarms,motions,errors,onConnect,onDisconnectbroadcast streams plus per-IMEIpositionsFor/alarmsFor/motionsForfilters.PositionEvent,AlarmEvent,MotionEvent,PositionAttributes,StreamErrormodels.AlarmsResponsenow carriespageandperPageto matchMotionLogsResponse.
Fixed #
VehicleDetail.lowFuelnow reads the correct response field (low_fuel, previously the typolfule) — values were always 0.
Breaking changes #
- Removed phantom fields that were never returned by the server:
VehicleDetail.publicandVehicleDetail.publicPrivacyVehicle.sharedandVehicle.groupsVehicleListResponse.groupsand theVehicleGroupclass
AlarmsResponseconstructor now requirespageandperPage.
0.1.0 #
- Initial release: REST client for vehicles, history, reports, alarms, motion logs, geofences, and engine commands.