fetchReciterById method
Implementation
Future<MyResponse<Reciter>> fetchReciterById(int reciterId) async {
var response = await DioUtils.request(DioUtils.REQUEST_GET, "${Apis.FETCH_ALL_RECITERS}$reciterId");
if (response.statusCode == 200) {
return MyResponse<Reciter>.fromJson(response.data,Apis.SINGLE);
} else {
return MyResponse<Reciter>.init(Apis.CODE_ERROR, null, null);
}
}