getSimplePageById method
Gets the simple page by id
Implementation
Future<SimplePage> getSimplePageById(int id) async {
final response = await _get('/api/simple-page/$id');
return SimplePage.fromJson(response.data);
}
Gets the simple page by id
Future<SimplePage> getSimplePageById(int id) async {
final response = await _get('/api/simple-page/$id');
return SimplePage.fromJson(response.data);
}