updateBlog method
Future<UpdateBlog>
updateBlog({
- required String blogId,
- required String title,
- required String body,
- required String format,
- required String category,
- List<
String> ? tags, - 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,
);
}