ServerTimestamp

Deprecated

Only the Android SDK's reflective mapping reads this annotation; com.google.firebase.serialization.ServerTimestamp is read on every platform

Replace with

import com.google.firebase.serialization.ServerTimestamp
ServerTimestamp

The SDK's annotation; com.google.firebase.serialization.ServerTimestamp is read on every platform.