allLabels property Null safety

List<Label> allLabels

Implementation

List<Label> get allLabels {
  final result = <Label>[];
  result.addAll(labels);
  result.addAll(children.expand((x) => x.allLabels));
  return result;
}