Firebase. Firestore. ServerTimestampAttribute
Attribute indicating that a timestamp property should be populated with a server timestamp.
Summary
If such a property contains null
when it is written, it will be replaced with a server-generated timestamp.