toObject

inline fun <T> DocumentSnapshot.toObject(): T?(source)

The document as T; on Apple platforms and JS a cast of DocumentSnapshot.data.


The document as T; on Apple platforms and JS a cast of DocumentSnapshot.getData.