Implemented new custom sort and separated the sorted view for each car
This commit is contained in:
@ -31,7 +31,7 @@ class TourLoaded extends TourState {
|
||||
Tour tour;
|
||||
Map<String, double>? distances;
|
||||
List<Payment> paymentOptions;
|
||||
SortingInformationContainer sortingInformation;
|
||||
Map<String, List<String>> sortingInformation;
|
||||
|
||||
TourLoaded({
|
||||
required this.tour,
|
||||
@ -44,7 +44,7 @@ class TourLoaded extends TourState {
|
||||
Tour? tour,
|
||||
Map<String, double>? distances,
|
||||
List<Payment>? paymentOptions,
|
||||
SortingInformationContainer? sortingInformation
|
||||
Map<String, List<String>>? sortingInformation
|
||||
}) {
|
||||
return TourLoaded(
|
||||
tour: tour ?? this.tour,
|
||||
|
||||
Reference in New Issue
Block a user