hasChild method

bool hasChild(
  1. String name
)

Implementation

bool hasChild(String name) {
  return file(name).existsSync();
}