Subline constructor

Subline({
  1. required RouteLine parentLine,
  2. required bool active,
  3. required String code,
  4. required int id,
  5. required String name,
  6. required int color,
  7. required LineType type,
  8. required List<Station> stations,
  9. required Way way,
  10. List<RouteTown>? towns,
  11. bool? main,
  12. double? distance,
})

Implementation

Subline(
    {required this.parentLine,
    required this.active,
    required this.code,
    required this.id,
    required this.name,
    required this.color,
    required this.type,
    required this.stations,
    required this.way,
    this.towns,
    this.main,
    this.distance});