updateBlog method

  1. @override
Future<UpdateBlog> updateBlog({
  1. required String blogId,
  2. required String title,
  3. required String body,
  4. required String format,
  5. required String category,
  6. List<String>? tags,
  7. File? attachedFile,
})
override

Implementation

@override
Future<UpdateBlog> updateBlog({
  required String blogId,
  required String title,
  required String body,
  required String format,
  required String category,
  List<String>? tags,
  File? attachedFile,
}) {
  return datasource.updateBlog(
    blogId: blogId,
    title: title,
    body: body,
    format: format,
    category: category,
    tags: tags,
    attachedFile: attachedFile,
  );
}