anyway/lib/structs/destination.dart
Remy Moll 780bf02964
Some checks failed
Test code / Test code (push) Failing after 1m57s
Build and release APK / Build APK (pull_request) Successful in 6m28s
Build web / Build Web (pull_request) Successful in 43s
Test code / Test code (pull_request) Failing after 43s
more evolved mockup
2024-05-16 17:00:10 +02:00

32 lines
577 B
Dart

class Destination {
final double latitude;
final double longitude;
final String name;
final String description;
final DestinationType type;
final Duration duration;
final bool visited;
Destination({
required this.latitude,
required this.longitude,
required this.name,
required this.description,
required this.type,
required this.duration,
required this.visited,
});
}
class DestinationType {
final String name;
final String description;
DestinationType({
required this.name,
required this.description,
});
}