updateBlogCategory method
Updates the given blog category
Implementation
Future<void> updateBlogCategory(BlogCategory blogCategory) async {
final data = blogCategory.toJson();
data['parentId'] = blogCategory.parent?.id;
await _put('/api/blog/category/${blogCategory.id}', data: data);
}