Waypath constructor

Waypath({
  1. required List<ILatLong> path,
})

Creates a new Waypath with the given path.

Implementation

Waypath({required List<ILatLong> path}) : assert(path.isNotEmpty), _path = path;