valuesRecursive property

List<T> get valuesRecursive

Implementation

List<T> get valuesRecursive {
  final data = <T>[];

  data.addAll(hitboxes);
  for (final child in children) {
    if (child == null) {
      continue;
    }
    data.addAll(child.valuesRecursive as List<T>);
  }
  return data;
}