reversed method

Return reversed direction.

Implementation

EnumAminoAcidSequenceDirection reversed() {
  if (this == EnumAminoAcidSequenceDirection.nToC) {
    return EnumAminoAcidSequenceDirection.cToN;
  } else {
    return EnumAminoAcidSequenceDirection.nToC;
  }
}