ScalePattern({required this.name, required this.intervals}) { _byName['$name ${this.runtimeType}'] = this; }