PTStop constructor

PTStop({
  1. required int stopId,
  2. required String stopName,
  3. bool? isStation,
  4. required List<PTRoute> routes,
})

Constructor for the PTStop class.

Implementation

PTStop({
  required this.stopId,
  required this.stopName,
  this.isStation,
  required this.routes,
});