mirrored_repositories/blog_app/lib/features/blog/presentation
part of 'blog_bloc.dart';

@immutable
sealed class BlogEvent {}

final class BlogUpload extends BlogEvent {
  final String posterId;
  final String title;
  final String content;
  final File image;
  final List<String> topics;
  BlogUpload({
    required this.title,
    required this.content,
    required this.posterId,
    required this.topics,
    required this.image,
  });
}

final class BlogFetchAllBlogs extends BlogEvent {}
