handle method
Method called when report has been accepted by user
Implementation
@override
Future<bool> handle(Report report, BuildContext? context) async {
_openedFile = fileSupplier != null ? fileSupplier!(report) : file;
try {
if (!_fileValidated) {
_fileValidationResult = await _checkFile();
_fileValidated = true;
}
return await _processReport(report);
} catch (exc, stackTrace) {
_printLog('Exception occurred: $exc stack: $stackTrace');
return false;
}
}