Movement class
Movement represents a single type of exercise or, well, movement. A Movement has many Performances and a Session can have many Movements. An example would simply be "Squats".
- Inheritance
-
- Object
- Metadatable
- Movement
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
kvps
→ Map<
String, String> -
Convenience access to kvps.
no setterinherited
- metadata ↔ Metadata
-
getter/setter pairinherited
- name ↔ String
-
getter/setter pair
-
notes
→ List<
String> -
Convenience access to notes.
no setterinherited
-
performances
↔ List<
Performance> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- superSetted ↔ bool
-
getter/setter pair
- unit ↔ String
-
getter/setter pairinherited
- volume → double
-
Volume does not currently account for differing units per Performance.
no setter
Methods
-
addKVP(
String key, String value) → void -
Adds the key value pair to the KVPs.
inherited
-
addNote(
String note) → void -
Adds a note.
inherited
-
addPerformance(
Performance performance) → void - Adds a Performance and ensures the units align.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setKVP(
String key, String value) → void -
Sets the value for the given key.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited