Weight class
Constructors
- Weight(double value, Unit unit)
- Weight.grain(double value)
-
factory
- Weight.gram(double value)
-
factory
- Weight.kilogram(double value)
-
factory
- Weight.ounce(double value)
-
factory
- Weight.pound(double value)
-
factory
- Weight.newton(double value)
-
factory
Properties
-
conversionFactors
→ Map<
Unit, double> -
no setteroverride
- debugDetails → String
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
no setterinherited
- raw → double
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- units → Unit
-
no setterinherited
- value → double
-
no setterinherited
Methods
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited