generateScheduleId static method

String generateScheduleId({
  1. required DateTime time,
  2. required String command,
  3. String? target,
})

Get the ID for the scheduler document.

スケジューラーのドキュメント用のIDを取得します。

Implementation

static String generateScheduleId({
  required DateTime time,
  required String command,
  String? target,
}) {
  return "${time.format("yyyyMMddHHmmssSSS")}:$command:$target";
}