Directions constructor

Directions({
  1. required Address origin,
  2. required Address destination,
  3. required List<Address> waypoints,
  4. required String distance,
  5. required String duration,
  6. required Bounds bounds,
  7. required List<Coords> points,
})

Constructor for Directions.

Implementation

Directions({
  required this.origin,
  required this.destination,
  required this.waypoints,
  required this.distance,
  required this.duration,
  required this.bounds,
  required this.points,
});