Volume class
Volume physical property.
Configures Internation (SI) and Imperial (British) systems of units defining their Volume Unit instances. All units are accessible by singleton method, static methods or by symbol. Also provides Quantity constructors for common units.
- Inheritance
-
- Object
- PhysicalProperty<
Volume> - Volume
Constructors
- Volume()
-
factory
Properties
- a → Length
-
finalinherited
-
baseUnit
→ PowersUnit<
Volume, Length> -
Return the baseUnit of my first SystemOfMeasurement
no setterinherited
-
bushelUK
→ Unit<
Volume> -
latefinal
-
bushelUS
→ Unit<
Volume> -
latefinal
-
centiliter
→ Unit<
Volume> -
latefinal
-
cubicCentimeter
→ Unit<
Volume> -
latefinal
-
cubicDecimeter
→ Unit<
Volume> -
latefinal
-
cubicFoot
→ Unit<
Volume> -
latefinal
-
cubicInch
→ Unit<
Volume> -
latefinal
-
cubicMeter
→ Unit<
Volume> -
latefinal
-
cubicMile
→ Unit<
Volume> -
latefinal
-
cubicMillimeter
→ Unit<
Volume> -
latefinal
-
cubicYard
→ Unit<
Volume> -
latefinal
-
deciliter
→ Unit<
Volume> -
latefinal
- dimensionSymbol → String
-
Dimension symbol
finalinherited
-
fluidOunceUK
→ Unit<
Volume> -
latefinal
-
fluidOunceUS
→ Unit<
Volume> -
latefinal
-
gallonUK
→ Unit<
Volume> -
latefinal
-
gallonUS
→ Unit<
Volume> -
latefinal
-
gillUK
→ Unit<
Volume> -
latefinal
-
gillUS
→ Unit<
Volume> -
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → String
-
Texttual name for this PhysicalProperty
finalinherited
-
liter
→ Unit<
Volume> -
latefinal
-
milliliter
→ Unit<
Volume> -
latefinal
-
oilBarrel
→ Unit<
Volume> -
latefinal
-
peckUK
→ Unit<
Volume> -
latefinal
-
peckUS
→ Unit<
Volume> -
latefinal
-
pintUK
→ Unit<
Volume> -
latefinal
-
pintUS
→ Unit<
Volume> -
latefinal
- power → int
-
finalinherited
- quantitySymbol → String
-
Qunatity symbol
finalinherited
-
quarterUK
→ Unit<
Volume> -
latefinal
-
quarterUS
→ Unit<
Volume> -
latefinal
-
quartUK
→ Unit<
Volume> -
latefinal
-
quartUS
→ Unit<
Volume> -
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
-
systemsOfUnits
→ List<
SystemOfUnits< Volume> > -
Collection of SystemOfMeasurement for this PhysicalProperty
finalinherited
-
unitList
→ List<
Unit< Volume> > -
Return all units in all of my SystemOfMeasurement list
no setterinherited
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
-
powersUnit(
Unit< Length> a, int power, double factor, {String? symbol, String? name}) → PowersUnit<Volume, Length> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
unitWith(
{required String symbol}) → Unit< Volume> ? -
Finds an unit with a symbol in my SystemOfMeasurement list
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
bushelsUK(
double amount) → Quantity< Volume> -
bushelsUS(
double amount) → Quantity< Volume> -
centiliters(
double amount) → Quantity< Volume> -
cubicCentimeters(
double amount) → Quantity< Volume> -
cubicDecimeters(
double amount) → Quantity< Volume> -
cubicFeet(
double amount) → Quantity< Volume> -
cubicInches(
double amount) → Quantity< Volume> -
cubicMeters(
double amount) → Quantity< Volume> -
cubicMiles(
double amount) → Quantity< Volume> -
cubicMillimeters(
double amount) → Quantity< Volume> -
cubicYards(
double amount) → Quantity< Volume> -
deciliters(
double amount) → Quantity< Volume> -
fluidOuncesUS(
double amount) → Quantity< Volume> -
gallonsUK(
double amount) → Quantity< Volume> -
gallonsUS(
double amount) → Quantity< Volume> -
gillsUK(
double amount) → Quantity< Volume> -
gillsUS(
double amount) → Quantity< Volume> -
liters(
double amount) → Quantity< Volume> -
milliliters(
double amount) → Quantity< Volume> -
oilBarrels(
double amount) → Quantity< Volume> -
ouncesUK(
double amount) → Quantity< Volume> -
pecksUK(
double amount) → Quantity< Volume> -
pecksUS(
double amount) → Quantity< Volume> -
pintsUK(
double amount) → Quantity< Volume> -
pintsUS(
double amount) → Quantity< Volume> -
quartersUK(
double amount) → Quantity< Volume> -
quartersUS(
double amount) → Quantity< Volume> -
quartsUK(
double amount) → Quantity< Volume> -
quartsUS(
double amount) → Quantity< Volume>