get method
HTTP GET request using a url
Implementation
Future<dynamic> get(url, {dynamic data}) async {
try {
Response response = await _dio.get(url, data: data);
return response.data;
} catch (error, stacktrace) {
_printLog("$error stackTrace: $stacktrace");
return null;
}
}