parent abstract method

DatabaseReference? parent()

Gets a DatabaseReference for the parent location.

If this instance refers to the root of your Firebase Database, it has no parent, and therefore parent() will return null.

Implementation

DatabaseReference? parent();