neptrack_core 0.2.1 copy "neptrack_core: ^0.2.1" to clipboard
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. Exposes positions, alarms, motions, errors, onConnect, onDisconnect broadcast streams plus per-IMEI positionsFor / alarmsFor / motionsFor filters.
  • PositionEvent, AlarmEvent, MotionEvent, PositionAttributes, StreamError models.
  • AlarmsResponse now carries page and perPage to match MotionLogsResponse.

Fixed #

  • VehicleDetail.lowFuel now reads the correct response field (low_fuel, previously the typo lfule) — values were always 0.

Breaking changes #

  • Removed phantom fields that were never returned by the server:
    • VehicleDetail.public and VehicleDetail.publicPrivacy
    • Vehicle.shared and Vehicle.groups
    • VehicleListResponse.groups and the VehicleGroup class
  • AlarmsResponse constructor now requires page and perPage.

0.1.0 #

  • Initial release: REST client for vehicles, history, reports, alarms, motion logs, geofences, and engine commands.
1
likes
150
points
32
downloads

Documentation

API reference

Publisher

verified publisherneptrack.com

Weekly Downloads

Pure Dart SDK for the NepTrack REST API — vehicles, history, reports, alarms, motion logs, geofences and engine commands.

Homepage
Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

http, meta, socket_io_client

More

Packages that depend on neptrack_core