SIPrefixes class
- Inheritance
-
- Object
- Property<
SI_PREFIXES, double> - SIPrefixes
Constructors
- SIPrefixes.new({int significantFigures = 10, bool removeTrailingZeros = true, dynamic name})
- Class for si_prefixes conversions, e.g. if you want to convert 1 base unit in milli:
Properties
- atto → Unit
-
no setter
- base → Unit
-
no setter
- centi → Unit
-
no setter
- deca → Unit
-
no setter
- deci → Unit
-
no setter
- exa → Unit
-
no setter
- femto → Unit
-
no setter
- giga → Unit
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hecto → Unit
-
no setter
- kilo → Unit
-
no setter
-
mapSymbols
→ Map<
SI_PREFIXES, String> -
final
- mega → Unit
-
no setter
- micro → Unit
-
no setter
- milli → Unit
-
no setter
- name ↔ dynamic
-
getter/setter pairinherited
- nano → Unit
-
no setter
- peta → Unit
-
no setter
- pico → 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
- tera → Unit
-
no setter
- unitConversion ↔ Node
-
getter/setter pairinherited
-
unitList
↔ List<
Unit> -
getter/setter pairinherited
- yocto → Unit
-
no setter
- yotta → Unit
-
no setter
- zepto → Unit
-
no setter
- zetta → Unit
-
no setter
Methods
-
convert(
SI_PREFIXES name, double? value) → void -
Converts a unit with a specific name (e.g. SI_PREFIXES.milli) 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