timestamp method
Assign a server-side timestamp to the key
field.
Execute save to apply the changes.
Implementation
FirestoreDynamicDocumentModel timestamp(String key) {
this[key] = FieldValue.serverTimestamp();
return this;
}
Assign a server-side timestamp to the key
field.
Execute save to apply the changes.
FirestoreDynamicDocumentModel timestamp(String key) {
this[key] = FieldValue.serverTimestamp();
return this;
}