forked from eatvio/eatvio_app
Blog post edit layouts and BloC
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
// ignore_for_file: must_be_immutable
|
||||
|
||||
import 'package:equatable/equatable.dart';
|
||||
|
||||
/// This class defines the variables used in the [blog_post_edit_screen],
|
||||
/// and is typically used to hold data that is passed between different parts of the application.
|
||||
|
||||
class BlogPostEditModel extends Equatable {
|
||||
final String blog_postID;
|
||||
|
||||
BlogPostEditModel({required String blog_postID}) : blog_postID = blog_postID;
|
||||
|
||||
BlogPostEditModel copyWith(String blog_postID) {
|
||||
return BlogPostEditModel(blog_postID: blog_postID);
|
||||
}
|
||||
|
||||
@override
|
||||
List<Object?> get props => [blog_postID];
|
||||
}
|
||||
Reference in New Issue
Block a user