PIbd-32_Shabunov_O.A._Mobil.../lib/presentation/favourites_bloc/favourites_state.dart
olshab 1a863ee7f7 implemented favourites page
added navigation bar
renamed "like" to "favourite"
made cards list into separate widget
2024-12-17 12:10:42 +04:00

22 lines
455 B
Dart

import 'package:copy_with_extension/copy_with_extension.dart';
import 'package:equatable/equatable.dart';
part 'favourites_state.g.dart';
@CopyWith()
class FavouritesState extends Equatable {
final List<String>? favouritesIds;
final bool hasFavouritesLoaded;
const FavouritesState({
this.favouritesIds,
this.hasFavouritesLoaded = false,
});
@override
List<Object?> get props => [
favouritesIds,
hasFavouritesLoaded,
];
}