Volume class

Volume dimension

Inheritance

Properties

def DimDef
Returns a copy of the normalized definition.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
inverted Dimension
Inverse of this dimension.
getter/setter pairinherited
isBase bool
Whether this is a base dimension.
latefinalinherited
isEmpty bool
Whether this dimension is dimensionless.
latefinalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isCompatible(Dimension dim) bool
Whether dim is compatible with this dimension.
inherited
isMine(Unit<Dimension> unit) bool
Whether unit belongs to this dimension.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pow(int p) Dimension
Returns this dimension raised to p.
inherited
toString() String
Returns the dimension definition as a string.
inherited

Operators

operator *(Dimension other) Dimension
Returns the product of this dimension and other.
inherited
operator /(Dimension other) Dimension
Returns the quotient of this dimension and other.
inherited
operator ==(Object other) bool
The equality operator.
inherited

Static Properties

cmeter3 Unit<Volume>
Cubic centimeter
final
feet3 Unit<Volume>
Cubic feet
final
flounce → ({Unit<Volume> imperial, Unit<Volume> usa})
Fluid ounce (USA and imperial)
final
gallon → ({Unit<Volume> imperial, Unit<Volume> usa})
Gallon (USA and imperial)
final
liter Unit<Volume>
final
meter3 Unit<Volume>
Cubic meter
final
mliter Unit<Volume>
Milliliter
final
pint → ({Unit<Volume> imperial, Unit<Volume> usa})
Pint (USA and imperial)
final
quart → ({Unit<Volume> imperial, Unit<Volume> usa})
Quart (USA and imperial)
final
self Volume
Singleton's instance
final