CronJobRequest constructor

CronJobRequest({
  1. required DateTime time,
  2. required String path,
  3. AccessToken? token,
})

Implementation

CronJobRequest(
    {required DateTime time, required String path, AccessToken? token})
    : super(
        context: RequestContext(
          requestTime: DateTime.now(),
          cause: Cause.cronJobs,
          agent: Agent.internal,
          accessToken: token,
          pathController: PathController.fromFullPath(path),
        ),
        body: Body<DateTime>(time),
      );