Length class
Represents base quantity Length
Constructors
Properties
-
baseDimension
→ BaseDimension<
Length> -
Base dimension of this quantity
finalinherited
-
dimension
→ Dimension<
Length> -
Dimension of this quantity
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
props
→ List<
Object> -
The list of properties that will be used to determine whether
two instances are equal.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- siValue → num
-
value in SI unit of this quantity
finalinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
valueIn(
String unitSymbol) → num -
Returns the value of this quantity in
unitSymbol
unitinherited
Operators
-
operator +(
Length q) → Length -
Add operator
inherited
-
operator -(
Length q) → Length -
Subtract operator
inherited
-
operator <(
Length q) → bool -
Less than operator
inherited
-
operator <=(
Length q) → bool -
Less than or equal operator
inherited
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator >(
Length q) → bool -
Greater than operator
inherited
-
operator >=(
Length q) → bool -
Greater than or equal operator
inherited