Dimensionless class

Singleton dimensionless dimension.

Inheritance

Constructors

Dimensionless()

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

self → Dimensionless
Singleton instance
final