copyWith method
Implementation
CronTask copyWith({
String? id,
String? cron,
String? prompt,
int? createdAt,
int? lastFiredAt,
bool? recurring,
bool? permanent,
bool? durable,
String? agentId,
}) => CronTask(
id: id ?? this.id,
cron: cron ?? this.cron,
prompt: prompt ?? this.prompt,
createdAt: createdAt ?? this.createdAt,
lastFiredAt: lastFiredAt ?? this.lastFiredAt,
recurring: recurring ?? this.recurring,
permanent: permanent ?? this.permanent,
durable: durable ?? this.durable,
agentId: agentId ?? this.agentId,
);