reversed method

Return reversed direction.

Implementation

EnumNucleotideSequenceDirection reversed() {
  if (this == EnumNucleotideSequenceDirection.fiveToThree) {
    return EnumNucleotideSequenceDirection.threeToFive;
  } else {
    return EnumNucleotideSequenceDirection.fiveToThree;
  }
}