Length class
Length physical property singleton.
Configures Internation (SI), Imperial/US and Nautical systems of units defining their Length Unit instances. All units are accessible by singleton instance method or by symbol. Also provides Quantity constructors for all units.
- Inheritance
-
- Object
- PhysicalProperty<
Length> - Length
Constructors
- Length()
-
factory
Properties
-
angstrom
→ Unit<
Length> -
latefinal
-
attometer
→ Unit<
Length> -
latefinal
-
baseUnit
→ Unit<
Length> -
Return the baseUnit of my first SystemOfMeasurement
no setterinherited
-
cable
→ Unit<
Length> -
latefinal
-
centimeter
→ Unit<
Length> -
latefinal
-
chain
→ Unit<
Length> -
latefinal
-
decameter
→ Unit<
Length> -
latefinal
-
decimeter
→ Unit<
Length> -
latefinal
- dimensionSymbol → String
-
Dimension symbol
finalinherited
-
exameter
→ Unit<
Length> -
latefinal
-
femtometer
→ Unit<
Length> -
latefinal
-
fermi
→ Unit<
Length> -
latefinal
-
foot
→ Unit<
Length> -
latefinal
-
furlong
→ Unit<
Length> -
latefinal
-
gigameter
→ Unit<
Length> -
latefinal
-
hand
→ Unit<
Length> -
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
-
hectometer
→ Unit<
Length> -
latefinal
-
inch
→ Unit<
Length> -
latefinal
-
kilometer
→ Unit<
Length> -
latefinal
- kind → String
-
Texttual name for this PhysicalProperty
finalinherited
-
link
→ Unit<
Length> -
latefinal
-
megameter
→ Unit<
Length> -
latefinal
-
meter
→ Unit<
Length> -
latefinal
-
micrometer
→ Unit<
Length> -
latefinal
-
micron
→ Unit<
Length> -
latefinal
-
mil
→ Unit<
Length> -
latefinal
-
mile
→ Unit<
Length> -
latefinal
-
millimeter
→ Unit<
Length> -
latefinal
-
nanometer
→ Unit<
Length> -
latefinal
-
nauticalMile
→ Unit<
Length> -
latefinal
-
petameter
→ Unit<
Length> -
latefinal
-
picometer
→ Unit<
Length> -
latefinal
- quantitySymbol → String
-
Qunatity symbol
finalinherited
- 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
-
systemsOfUnits
→ List<
SystemOfUnits< Length> > -
Collection of SystemOfMeasurement for this PhysicalProperty
finalinherited
-
terameter
→ Unit<
Length> -
latefinal
-
unitList
→ List<
Unit< Length> > -
Return all units in all of my SystemOfMeasurement list
no setterinherited
-
yard
→ Unit<
Length> -
latefinal
-
yoctometer
→ Unit<
Length> -
latefinal
-
yottameter
→ Unit<
Length> -
latefinal
-
zeptometer
→ Unit<
Length> -
latefinal
-
zettameter
→ Unit<
Length> -
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< Length> ? -
Finds an unit with a symbol in my SystemOfMeasurement list
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
angstroms(
double amount) → Quantity< Length> -
attometers(
double amount) → Quantity< Length> -
cables(
double amount) → Quantity< Length> -
centimeters(
double amount) → Quantity< Length> -
chains(
double amount) → Quantity< Length> -
decameters(
double amount) → Quantity< Length> -
decimeters(
double amount) → Quantity< Length> -
exameters(
double amount) → Quantity< Length> -
feet(
double amount) → Quantity< Length> -
femtometers(
double amount) → Quantity< Length> -
fermis(
double amount) → Quantity< Length> -
furlongs(
double amount) → Quantity< Length> -
gigameters(
double amount) → Quantity< Length> -
hands(
double amount) → Quantity< Length> -
hectometers(
double amount) → Quantity< Length> -
inches(
double amount) → Quantity< Length> -
kilometers(
double amount) → Quantity< Length> -
megameters(
double amount) → Quantity< Length> -
meters(
double amount) → Quantity< Length> -
micrometers(
double amount) → Quantity< Length> -
microns(
double amount) → Quantity< Length> -
miles(
double amount) → Quantity< Length> -
millimeters(
double amount) → Quantity< Length> -
mils(
double amount) → Quantity< Length> -
nanometers(
double amount) → Quantity< Length> -
nauticalMiles(
double amount) → Quantity< Length> -
petameters(
double amount) → Quantity< Length> -
picometers(
double amount) → Quantity< Length> -
terameters(
double amount) → Quantity< Length> -
yards(
double amount) → Quantity< Length> -
yoctometers(
double amount) → Quantity< Length> -
yottameters(
double amount) → Quantity< Length> -
zeptometers(
double amount) → Quantity< Length> -
zettameters(
double amount) → Quantity< Length>