addWaypoints

abstract suspend fun addWaypoints(waypoints: List<Waypoint>)

Add a list of waypoints to the database. Converts the domain model Waypoint to a database entity and inserts it.

Parameters

waypoints

The domain Waypoint to add