markCompleted method

Future<bool> markCompleted()

Mark the link as completed This prevants it from coming up again in the next app session

Implementation

Future<bool> markCompleted() async {
  assert(_appId != null, ErrorStrings.serviceUninitialized);
  if (_clickId == null) return false;
  final res = await _apiService.request(
    method: ApiMethod.delete,
    endpoint: '${ApiEndpoints.deleteClick}/$_clickId',
  );
  return res.success;
}