Line constructor

const Line({
  1. required String name,
  2. required String startStationCode,
  3. required String endStationCode,
  4. required String internalDestination1,
  5. required String internalDestination2,
  6. required String lineCode,
})

Creates a new Line.

Implementation

const Line({
  required this.name,
  required this.startStationCode,
  required this.endStationCode,
  required this.internalDestination1,
  required this.internalDestination2,
  required this.lineCode,
});