Section constructor Null safety

const Section(
  1. {required String key,
  2. required List<Label> labels,
  3. required List<Section> children}
)

Implementation

const Section({
  required String key,
  required this.labels,
  required this.children,
}) : key = key;