add

inline suspend fun <T : Any> add(data: T, buildSettings: EncodeSettings.Builder.() -> Unit = {}): DocumentReference(source)
inline suspend fun <T : Any> add(strategy: SerializationStrategy<T>, data: T, buildSettings: EncodeSettings.Builder.() -> Unit = {}): DocumentReference(source)


inline suspend fun <T : Any> add(data: T, encodeDefaults: Boolean): DocumentReference(source)

Deprecated

Deprecated. Use builder instead

Replace with

add(data) { this.encodeDefaults = encodeDefaults }

suspend fun <T : Any> add(strategy: SerializationStrategy<T>, data: T, encodeDefaults: Boolean): DocumentReference(source)

Deprecated

Deprecated. Use builder instead

Replace with

add(strategy, data) { this.encodeDefaults = encodeDefaults }