serverTimestamp static method

FieldValue serverTimestamp()

Returns a sentinel used with set() or update() to include a server-generated timestamp in the written data.

Implementation

static FieldValue serverTimestamp() => _serverTimestamp;