addChild

public String addChild(StoredJson data)

Adds a child to the value.

The key for the child is generated via standard Firebase generation mechanism.

Return

the generated key under which the data was stored


public void addChild(String key, StoredJson data)

Adds a child to the value under a specified key.