hasChild method

bool hasChild(
  1. String path
)

Returns true if the specified child path has (non-null) data.

Implementation

bool hasChild(String path) {
  return child(path).exists;
}