ElectricCharge class
Represents quantity ElectricCharge
- Inheritance
-
- Object
- Quantity<
ElectricCharge> - ElectricCharge
Constructors
- ElectricCharge(num value, String unitSymbol)
- Constructs ElectricCharge with the value and the unit
- ElectricCharge.si(num siValue)
-
Constructs ElectricCharge with the value in SI unit
const
Properties
-
dimension
→ Dimension<
ElectricCharge> -
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 +(
ElectricCharge q) → ElectricCharge -
Add operator
inherited
-
operator -(
ElectricCharge q) → ElectricCharge -
Subtract operator
inherited
-
operator <(
ElectricCharge q) → bool -
Less than operator
inherited
-
operator <=(
ElectricCharge q) → bool -
Less than or equal operator
inherited
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator >(
ElectricCharge q) → bool -
Greater than operator
inherited
-
operator >=(
ElectricCharge q) → bool -
Greater than or equal operator
inherited