mirrored_repositories/pic_connect_app/lib/features
part of 'post_card_bloc.dart';

@freezed
class PostCardState with _$PostCardState {
  const factory PostCardState(
      {@Default(false) bool isPostOwner,
      @Default(false) bool isLikedByAuthUser,
      @Default(false) bool isBookmarkedByAuthUser,
      @Default(false) bool isReel,
      @Default(0) int likes,
      @Default(0) int commentCount,
      @Default("") String ownerUid,
      @Default("") String postId,
      @Default("") String username,
      @Default("") String description,
      @Default("") String datePublished,
      @Default("") String postImageUrl,
      @Default("") String placeInfo,
      @Default(false) bool isPostDeleted,
      @Default([]) List<String> tags,
      @Default("https://i.stack.imgur.com/l60Hf.png")
      String authorImageUrl}) = _PostCardState;
}
