timestamp method
Set the timestamp to key
.
Implementation
DynamicDocumentModel timestamp(String key) {
this[key] = DateTime.now().millisecondsSinceEpoch;
return this;
}
Set the timestamp to key
.
DynamicDocumentModel timestamp(String key) {
this[key] = DateTime.now().millisecondsSinceEpoch;
return this;
}