toJetpackEntity
Extension function to map a Jetpack to a JetpackEntity.
Return
The mapped JetpackEntity.
Extension function to map a FirebaseJetpack to a JetpackEntity.
Copies the server write timestamp into Room for dev.atick.core.room.data.JetpackDao.getSyncCursor. Pending flags use entity defaults. Pull upserts can overwrite pending local content; an upload echo is not guaranteed to leave that content unchanged.
Return
The mapped JetpackEntity.