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