addPerformance method
Adds a Performance and ensures the units align.
Implementation
void addPerformance(Performance performance) {
if (performance.unit == Metadata.unknownUnit) {
performance.unit = unit;
}
performances.add(performance);
}