ref method

DatabaseReference ref([
  1. String? path
])

Returns a DatabaseReference representing the location in the Database corresponding to the provided path. If no path is provided, the Reference will point to the root of the Database.

Implementation

DatabaseReference ref([String? path]) {
  return DatabaseReference._(_delegate.ref(path));
}