16 lines
403 B
Dart
16 lines
403 B
Dart
import 'package:copy_with_extension/copy_with_extension.dart';
|
|
import 'package:equatable/equatable.dart';
|
|
|
|
part 'reaction_state.g.dart';
|
|
|
|
@CopyWith()
|
|
class ReactionState extends Equatable {
|
|
final List<String>? likedIds;
|
|
final List<String>? dislikedIds;
|
|
|
|
const ReactionState({required this.likedIds, required this.dislikedIds});
|
|
|
|
@override
|
|
List<Object?> get props => [likedIds, dislikedIds];
|
|
}
|