Locations constructor
Constructs an Locations object.
id
- A unique ID for the set of locations. It should be a positive integer.
locations
- Indicate all the location coordinates that will be used during optimization.
The coordinates should be specified in the format latitude, longitude.
It is recommended to avoid adding duplicate location coordinates to this array.
In case there are multiple tasks at the same location,
users can repeat the index of the location while configuring all such tasks.
Implementation
Locations({
required this.id,
required this.locations,
});