toGabcString method

  1. @override
String toGabcString()
override

Implementation

@override
String toGabcString() {
  final pos = (staffPosition + (staffPosition % 2 == 0 ? 2 : 0))
      .clamp(1, 8)
      .toInt();
  return '${super.toGabcString()}(;$pos)';
}