PublicTransportInfo constructor

const PublicTransportInfo({
  1. PublicTransportType type = PublicTransportType.bus,
  2. required List<String> names,
  3. required List<int> suggestedCarNumbers,
  4. required String boardingSuggest,
  5. required int? color,
})

Implementation

const PublicTransportInfo({
  this.type = PublicTransportType.bus,
  required this.names,
  required this.suggestedCarNumbers,
  required this.boardingSuggest,
  required this.color,
  required this.routeLogo
});