ModelServerCommandCopyDocumentSchedule constructor

const ModelServerCommandCopyDocumentSchedule({
  1. required String path,
  2. required ModelTimestamp time,
})

ModelServerCommandBase to copy all documents to time.

Specify the path of the destination document in path.

If you use this in firestore, please specify the fields _time and _done in CollectionID:schedule to create the index.

timeにドキュメントをすべてコピーするためのModelServerCommandBaseです。

pathにコピー先のドキュメントのパスを指定します。

firestoreでこちらを利用する場合CollectionID:schedule_time_doneのフィールドを指定してインデックスを作成してください。

Implementation

const factory ModelServerCommandCopyDocumentSchedule({
  required String path,
  required ModelTimestamp time,
}) = _ModelServerCommandCopyDocumentSchedule;