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)
Deprecated
Deprecated. Use builder instead
Replace with
add(data) { this.encodeDefaults = encodeDefaults }
Content copied to clipboard
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 }
Content copied to clipboard