copyWith method
Implementation
NeomFrequency copyWith({
String? id,
String? name,
String? description,
double? frequency,
ScaleDegree? scaleDegree,
bool? isRoot,
bool? isMain,
bool? isFav,
}) {
return NeomFrequency(
id: id ?? this.id,
name: name ?? this.name,
description: description ?? this.description,
frequency: frequency ?? this.frequency,
scaleDegree: scaleDegree ?? this.scaleDegree,
isRoot: isRoot ?? this.isRoot,
isMain: isMain ?? this.isMain,
isFav: isFav ?? this.isFav,
);
}