handle method
Method called when report has been accepted by user
Implementation
@override
Future<bool> handle(Report error, BuildContext? context) async {
if (error.platformType != PlatformType.web) {
if (!(await TrackerUtils.isInternetConnectionAvailable())) {
_printLog("No internet connection available");
return false;
}
}
if (requestType == HttpRequestType.post) {
return _sendPost(error);
}
return true;
}