updateChildren

inline suspend fun updateChildren(update: Map<String, Any?>, buildSettings: EncodeSettings.Builder.() -> Unit = {})(source)

Update the specific child keys to the specified values. Passing null in a map to updateChildren() will remove the value at the specified location.

Return

The {@link Task} for this operation.

Parameters

update

The paths to update and their new values


suspend fun updateChildren(update: Map<String, Any?>, encodeDefaults: Boolean)(source)

Deprecated

Deprecated. Use builder instead

Replace with

updateChildren(update) { this.encodeDefaults = encodeDefaults }