expectedChildrenForPath method

int? expectedChildrenForPath(
  1. List<String> path, {
  2. required String? packagePath,
})

Returns the expected child count for a group path.

Implementation

int? expectedChildrenForPath(
  List<String> path, {
  required String? packagePath,
}) {
  return _scopes[scopeIdForPath(path, packagePath: packagePath)]
      ?.expectedChildrenCount;
}