sectionValid method
Check if a section is valid, i.e all its mandatory tags have values. Returns a list of mandatory tags that do not have values, empty indicating the section is valid.
Implementation
@override
List<SbomSpdxTag> sectionValid(String section) => sectionTags(section)
.where((e) => e.mandatory && e.values.isEmpty)
.toList();