UnitIU class
Class that represents a measurement of IU.
Constructors
- UnitIU(double value)
-
Creates a new
UnitIU
object with a specific value. -
UnitIU.fromJson(Map<
String, dynamic> json) -
factory
Properties
Methods
-
division(
Unit divide) → double -
Currently not implemented. Throws an exception if called.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
plus(
Unit? add) → Unit -
Adds another unit to the current unit.
override
-
times(
double mult) → Unit -
Multiplies the energy value by a scalar.
override
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator *(
double mult) → Unit -
inherited
-
operator +(
UnitMass? add) → Unit -
inherited
-
operator /(
UnitMass divide) → double -
inherited
-
operator ==(
Object other) → bool -
The equality operator.
override