Station constructor

Station({
  1. required String code,
  2. required int id,
  3. required double lat,
  4. required double long,
  5. required String name,
  6. String? ref,
  7. int? pickupType,
  8. int? dropoffType,
})

Implementation

Station(
    {required this.code,
    required this.id,
    required this.lat,
    required this.long,
    required this.name,
    this.ref,
    this.pickupType,
    this.dropoffType});