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

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