Nucleotide class

Constructors

Nucleotide(EnumBase base, {String? infoKey})
  • base : The base type.
  • infoKey : This nucleotide information key. The data are stored in nucleotide sequence classes and referenced by this key.
  • Properties

    base EnumBase
    getter/setter pair
    hashCode int
    The hash code for this object.
    no setterinherited
    infoKey String?
    getter/setter pair
    runtimeType Type
    A representation of the runtime type of the object.
    no setterinherited

    Methods

    complemented(EnumNucleotideSequenceType type) Nucleotide
    Convert to a new complementary base.
    converted(EnumNucleotideSequenceType type) Nucleotide
    Get a new Nucleotide that converted type of DNA and RNA.
    convertINSD() Nucleotide
    Convert International Nucleotide Sequence Database code. Change EnumBase.u => EnumBase.t. If infoKey is not null, throw exception.
    deepCopy() Nucleotide
    deep copy.
    isAmino() bool
    If the base contained amino, return true.
    isKeto() bool
    If the base contained keto, return true.
    isPurine() bool
    If the base contained purine, return true.
    isPyrimidine() bool
    If the base contained pyrimidine, return true.
    noSuchMethod(Invocation invocation) → dynamic
    Invoked when a nonexistent method or property is accessed.
    inherited
    toDict() Map<String, dynamic>
    to map.
    toString() String
    A string representation of this object.
    inherited

    Operators

    operator ==(Object other) bool
    The equality operator.
    inherited

    Static Methods

    fromDict(Map<String, dynamic> src) Nucleotide
    resume map.

    Constants

    className → const String
    version → const String