PerfectQuality class final

Quality corresponding to an Interval.perfect.

Inheritance

Constructors

PerfectQuality(int semitones)
Creates a new PerfectQuality from semitones.
const
PerfectQuality.parse(String source)
Parse source as a PerfectQuality and return its value.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
inverted PerfectQuality
The inverted version of this PerfectQuality.
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 perfect quality.
no setteroverride
symbol String
The symbol of this PerfectQuality.
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 PerfectQuality
An augmented PerfectQuality.
diminished → const PerfectQuality
A diminished PerfectQuality.
doublyAugmented → const PerfectQuality
A doubly augmented PerfectQuality.
doublyDiminished → const PerfectQuality
A doubly diminished PerfectQuality.
perfect → const PerfectQuality
A perfect PerfectQuality.
triplyAugmented → const PerfectQuality
A triply augmented PerfectQuality.
triplyDiminished → const PerfectQuality
A triply diminished PerfectQuality.