ImperfectQuality class final
Quality corresponding to an Interval.imperfect.
Constructors
- ImperfectQuality(int semitones)
-
Creates a new ImperfectQuality from semitones.
const
- ImperfectQuality.parse(String source)
-
Parse
source
as a ImperfectQuality and return its value.factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- inverted → ImperfectQuality
-
The inverted version of this ImperfectQuality.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- semitones → int
-
Delta semitones from the Interval, starting at 0 for the minor
quality.
no setteroverride
- symbol → String
-
The symbol of this ImperfectQuality.
no setteroverride
Methods
-
compareTo(
Quality other) → int -
Compares this object to another object.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
{IntervalNotation system = IntervalNotation.standard}) → String -
The string representation of this Quality based on
system
.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- augmented → const ImperfectQuality
- An augmented ImperfectQuality.
- diminished → const ImperfectQuality
- A diminished ImperfectQuality.
- doublyAugmented → const ImperfectQuality
- A doubly augmented ImperfectQuality.
- doublyDiminished → const ImperfectQuality
- A doubly diminished ImperfectQuality.
- major → const ImperfectQuality
- A major ImperfectQuality.
- minor → const ImperfectQuality
- A minor ImperfectQuality.
- triplyAugmented → const ImperfectQuality
- A triply augmented ImperfectQuality.
- triplyDiminished → const ImperfectQuality
- A triply diminished ImperfectQuality.