-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: renamed to english terms and implemented code review inputs. (#79)
- Loading branch information
1 parent
a29a8ad
commit 1904db5
Showing
23 changed files
with
228 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
part of 'train_journey_cubit.dart'; | ||
|
||
@immutable | ||
sealed class TrainJourneyState {} | ||
|
||
final class SelectingTrainJourneyState extends TrainJourneyState { | ||
SelectingTrainJourneyState({this.company, this.trainNumber, this.errorCode}); | ||
|
||
final String? trainNumber; | ||
final String? company; | ||
final ErrorCode? errorCode; | ||
} | ||
|
||
abstract class BaseTrainJourneyState extends TrainJourneyState { | ||
BaseTrainJourneyState(this.company, this.trainNumber, this.date); | ||
|
||
final String company; | ||
final String trainNumber; | ||
final DateTime date; | ||
|
||
@override | ||
String toString() { | ||
return '${runtimeType.toString()}(company=$company, trainNumber=$trainNumber, date=$date)'; | ||
} | ||
} | ||
|
||
final class ConnectingState extends BaseTrainJourneyState { | ||
ConnectingState(super.company, super.trainNumber, super.date); | ||
} | ||
|
||
final class TrainJourneyLoadedState extends BaseTrainJourneyState { | ||
TrainJourneyLoadedState(super.company, super.trainNumber, super.date); | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 0 additions & 56 deletions
56
das_client/lib/pages/fahrt/fahrbild/widgets/train_journey.dart
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.