28 lines
806 B
Dart
28 lines
806 B
Dart
/// Bundled profile image for a local vehicle definition.
|
|
class VehicleCatalogMedia {
|
|
const VehicleCatalogMedia({required this.imageAssetPath});
|
|
|
|
final String imageAssetPath;
|
|
}
|
|
|
|
/// A reviewed vehicle definition that can own a Ground Suite workspace.
|
|
///
|
|
/// It is deliberately separate from platform identity, compatibility, and
|
|
/// write authority reported by a future live vehicle source.
|
|
class VehicleDefinition {
|
|
const VehicleDefinition({
|
|
required this.id,
|
|
required this.name,
|
|
required this.vehicleClass,
|
|
required this.supportedProfile,
|
|
required this.media,
|
|
});
|
|
|
|
/// Stable local identity for persistence and future build matching.
|
|
final String id;
|
|
final String name;
|
|
final String vehicleClass;
|
|
final String supportedProfile;
|
|
final VehicleCatalogMedia media;
|
|
}
|