reverse method

void reverse()

(en) Reverses the order of bases in this Sequence.

(ja) このSequenceの塩基の順序を反転します。

Implementation

void reverse() {
  sequence = sequence.reversed.toList();
  direction = direction.reversed();
}