removeReport method
Implementation
Future<bool> removeReport(reportId) {
Log(
logName: 'RemoveReport',
className: 'Report',
methodName: 'removeReport',
type: 'INFO',
text:
'{event: Remove Report, user: ${currentUser?.userPayloadId}, user is ${currentUser?.firstName} ${currentUser?.lastName}, report id: $reportId',
);
return _httpService.removeReport(reportId: reportId).then((data) async {
if (data.statusCode == 200) {
return true;
}
return false;
});
}