static UnitOfWork removeAndFinishJobWithResult(
        @NonNull JobService jobService,
        @NonNull JobParameters jobParameters,
        @JobResult int result) {
      return new UnitOfWork(
          REMOVE_AND_FINISH_JOB_WITH_RESULT,
          jobService,
          /* jobParameters= */ jobParameters,
          /* remoteJobCallback= */ null,
          /* jobCallback= */ null,
          /* unbindIntent= */ null,
          /* boolValue= */ false,
          /* terminatingResult= */ result);
    }
Creats a Runnable that calls {@link
JobService#removeAndFinishJobWithResultImpl(JobParameters, int)}.
jobdispatcher/src/main/java/com/firebase/jobdispatcher/JobService.java