Mass class
Mass physical property.
Configures Internation (SI) and Imperial/US systems of units defining their Mass Unit instances. All units are accessible by singleton instance method or by symbol. Also provides Quantity constructors for all units.
- Inheritance
-
- Object
- PhysicalProperty<
Mass> - Mass
Constructors
- Mass()
-
factory
Properties
-
attogram
→ Unit<
Mass> -
latefinal
-
baseUnit
→ Unit<
Mass> -
Return the baseUnit of my first SystemOfMeasurement
no setterinherited
-
centigram
→ Unit<
Mass> -
latefinal
-
decagram
→ Unit<
Mass> -
latefinal
-
decigram
→ Unit<
Mass> -
latefinal
- dimensionSymbol → String
-
Dimension symbol
finalinherited
-
drachm
→ Unit<
Mass> -
latefinal
-
exagram
→ Unit<
Mass> -
latefinal
-
femtogram
→ Unit<
Mass> -
latefinal
-
gigagram
→ Unit<
Mass> -
latefinal
-
grain
→ Unit<
Mass> -
latefinal
-
gram
→ Unit<
Mass> -
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
-
hectogram
→ Unit<
Mass> -
latefinal
-
kilogram
→ Unit<
Mass> -
latefinal
- kind → String
-
Texttual name for this PhysicalProperty
finalinherited
-
kip
→ Unit<
Mass> -
latefinal
-
megagram
→ Unit<
Mass> -
latefinal
-
microgram
→ Unit<
Mass> -
latefinal
-
milligram
→ Unit<
Mass> -
latefinal
-
nanogram
→ Unit<
Mass> -
latefinal
-
ounce
→ Unit<
Mass> -
latefinal
-
petagram
→ Unit<
Mass> -
latefinal
-
picogram
→ Unit<
Mass> -
latefinal
-
pound
→ Unit<
Mass> -
latefinal
- quantitySymbol → String
-
Qunatity symbol
finalinherited
-
quarter
→ Unit<
Mass> -
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shouldPreloadAllUnits → bool
-
Methos called by the constructor to allow preloading of all units if desired.
no setterinherited
-
stone
→ Unit<
Mass> -
latefinal
-
systemsOfUnits
→ List<
SystemOfUnits< Mass> > -
Collection of SystemOfMeasurement for this PhysicalProperty
finalinherited
-
teragram
→ Unit<
Mass> -
latefinal
-
ton
→ Unit<
Mass> -
latefinal
-
unitList
→ List<
Unit< Mass> > -
Return all units in all of my SystemOfMeasurement list
no setterinherited
-
yoctogram
→ Unit<
Mass> -
latefinal
-
yottagram
→ Unit<
Mass> -
latefinal
-
zeptogram
→ Unit<
Mass> -
latefinal
-
zettagram
→ Unit<
Mass> -
latefinal
Methods
-
defineSystemsOfUnits(
) → void -
Method called by the constructor to define subclass systems of units along their base units.
override
-
loadAllUnits(
) → void -
Define (load) all units.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
unitWith(
{required String symbol}) → Unit< Mass> ? -
Finds an unit with a symbol in my SystemOfMeasurement list
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
attograms(
double amount) → Quantity< Mass> -
centigrams(
double amount) → Quantity< Mass> -
decagrams(
double amount) → Quantity< Mass> -
decigrams(
double amount) → Quantity< Mass> -
drachms(
double amount) → Quantity< Mass> -
exagrams(
double amount) → Quantity< Mass> -
femtograms(
double amount) → Quantity< Mass> -
gigagrams(
double amount) → Quantity< Mass> -
grains(
double amount) → Quantity< Mass> -
grams(
double amount) → Quantity< Mass> -
hectograms(
double amount) → Quantity< Mass> -
kilograms(
double amount) → Quantity< Mass> -
kips(
double amount) → Quantity< Mass> -
megagrams(
double amount) → Quantity< Mass> -
micrograms(
double amount) → Quantity< Mass> -
milligrams(
double amount) → Quantity< Mass> -
nanograms(
double amount) → Quantity< Mass> -
ounces(
double amount) → Quantity< Mass> -
petagrams(
double amount) → Quantity< Mass> -
picograms(
double amount) → Quantity< Mass> -
pounds(
double amount) → Quantity< Mass> -
quarters(
double amount) → Quantity< Mass> -
stones(
double amount) → Quantity< Mass> -
teragrams(
double amount) → Quantity< Mass> -
tons(
double amount) → Quantity< Mass> -
yoctograms(
double amount) → Quantity< Mass> -
yottagrams(
double amount) → Quantity< Mass> -
zeptograms(
double amount) → Quantity< Mass> -
zettagrams(
double amount) → Quantity< Mass>