getBlog method
Implementation
@override
Future<GetBlog> getBlog({required String blogId}) async {
final response = await dio.post(
'/blogs/show',
data: {
'api_key': Environment.apiKey,
'campaign': Environment.campaign,
'blog_id': blogId,
}
);
final Map<String, dynamic> responseData = jsonDecode(response.data);
return _jsonToGetBlog(responseData);
}