copyWithTiming method

Note copyWithTiming(
  1. Timing timing
)

Implementation

Note copyWithTiming(Timing timing) {
  assert(timing.nth > 0);
  return Note(
    string,
    fret,
    timing: timing,
    length: length,
    pick: pick,
    chord: chord,
    melody: melody,
    slideTo: slideTo,
    hammerOn: hammerOn,
    pullOff: pullOff,
    and: and?.copyWithTiming(timing),
  );
}