removeReport method

Future<bool> removeReport(
  1. dynamic reportId
)

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;
  });
}