Torque class
Constructors
- Torque.new({int significantFigures = 10, bool removeTrailingZeros = true, dynamic name})
- Class for torque conversions, e.g. if you want to convert 1 square meters in acres:
Properties
- dyneMeter → Unit
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- kilogramForceMeter → Unit
-
no setter
-
mapSymbols
→ Map<
TORQUE, String> -
final
- name ↔ dynamic
-
getter/setter pairinherited
- newtonMeter → Unit
-
no setter
- poundalMeter → Unit
-
no setter
- poundForceFeet → Unit
-
no setter
- removeTrailingZeros ↔ bool
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- significantFigures ↔ int
-
getter/setter pair
- size ↔ int
-
latefinalinherited
- unitConversion ↔ Node
-
getter/setter pairinherited
-
unitList
↔ List<
Unit> -
getter/setter pairinherited
Methods
-
convert(
TORQUE name, double? value) → void -
Converts a unit with a specific name (e.g. TORQUE.newton_meter) and value to all other units
override
-
getAll(
) → List< Unit> -
Returns all the units converted with prefixes
inherited
-
getUnit(
dynamic name) → Unit -
Returns the Unit with the corresponding name
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited