Stop constructor

const Stop({
  1. required double latitude,
  2. required double longitude,
  3. required String name,
  4. required List<String> routes,
  5. required int stopId,
})

Creates a Stop object.

Implementation

const Stop({
  required this.latitude,
  required this.longitude,
  required this.name,
  required this.routes,
  required this.stopId,
});