serverTimestamp static method

FieldValue serverTimestamp()

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

Implementation

static FieldValue serverTimestamp() =>
    FieldValue._(_factory.serverTimestamp());