CronJobRequest constructor
CronJobRequest({
- required DateTime time,
- required String path,
- 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),
);