Volume class

The amount of space occupied by a three-dimensional object or region of space, expressed in cubic units.

The system unit for this quantity is "m³" (cubic meter).

Inheritance

Properties

cubicInch Unit
A unit of volume equal to one cubic inch (in³).
no setter
cubicMetre Unit
The metric unit for volume quantities ().
no setter
gallonDryUS Unit
A unit of volume equal to one US dry gallon. (standard name gallon_dry_us).
no setter
gallonLiquidUS Unit
A unit of volume equal to one US gallon, Liquid Unit. The U.S. liquid gallon is based on the Queen Anne or Wine gallon occupying 231 cubic inches (standard name gal).
no setter
gallonUK Unit
A unit of volume equal to 4.546 09 [LITRE] (standard name gal_uk).
no setter
hashCode int
The hash code for this object.
no setterinherited
liter Unit
Equivalent to litre (American spelling).
no setter
litre Unit
A unit of volume equal to one cubic decimeter (default label L, also recognized µL, mL, cL, dL).
no setter
ounceLiquidUK Unit
A unit of volume equal to 1 / 160 [GALLON_UK] (standard name oz_fl_uk).
no setter
ounceLiquidUS Unit
A unit of volume equal to 1 / 128 [GALLON_LIQUID_US] (standard name oz_fl).
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
siUnit Unit
The SI unit (Système International d'Unités) for this quantity
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited