RouteLine constructor

RouteLine({
  1. required bool active,
  2. required String code,
  3. required int id,
  4. required String name,
  5. required int color,
  6. List<Subline>? sublines,
  7. required LineType type,
  8. bool? summerOnly,
  9. List<RouteSession>? sessions,
  10. List<RouteTown>? towns,
  11. List<RouteHoliday>? holidays,
  12. List<int>? zoneIds,
  13. bool? onDemand,
})

Implementation

RouteLine(
    {required this.active,
    required this.code,
    required this.id,
    required this.name,
    required this.color,
    this.sublines,
    required this.type,
    this.summerOnly,
    this.sessions,
    this.towns,
    this.holidays,
    this.zoneIds,
    this.onDemand});