getDignosticscommonbookTest method
Future
getDignosticscommonbookTest(
)
Implementation
Future getDignosticscommonbookTest() async {
var decodedResponse;
try {
final response = await http.get(
Uri.parse('${SDK_BASE_URL}diagnostics_api/test'),
headers: {'Authorization': SignUpController.currentUserToken},
);
decodedResponse = json.decode(response.body);
GetCommonlyBookTest = decodedResponse['data'];
} catch (e) {
errorListner(
apiname: 'diagnostics_api/test',
responsed: "${decodedResponse}",
request: '',
app_error: '${e}');
}
}