updateBlogPost method

Future<void> updateBlogPost(
  1. BlogPost blogPost
)

Updates the given blog post

Implementation

Future<void> updateBlogPost(BlogPost blogPost) async {
  await _put('/api/blog/post/${blogPost.id}', data: blogPost.toJson());
}