import 'package:hl_lieferservice/model/car.dart'; abstract class CarsState {} class CarsInitial extends CarsState {} class CarsLoading extends CarsState {} class CarsLoadingFailed extends CarsState {} class CarsLoaded extends CarsState { List cars; String teamId; CarsLoaded({required this.cars, required this.teamId}); CarsLoaded copyWith({List? cars, String? teamId}) { return CarsLoaded( cars: cars ?? this.cars, teamId: teamId ?? this.teamId, ); } }