save method
Implementation
Future<void> save(ReportCollection request) async {
if (!enable) return;
// need to be sync, otherwise when two reports come together they may conflict
File(await _getReportPath()).writeAsBytesSync(request.writeToBuffer(), mode: FileMode.append);
}