getBlogPostSegments method
Gets the segments of the given blog post
Implementation
Future<Iterable<BlogPostSegment>> getBlogPostSegments(int postId) async {
final response = await _get('/api/blog/post/$postId/segment');
return response.data.map<BlogPostSegment>((e) => BlogPostSegment.fromJson(e));
}