Carats class
Carats conversion functions
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
toGrams(
double value) → double - Converts the supplied Carats value to Grams
-
toKilograms(
double value) → double - Converts the supplied Carats value to Kilograms
-
toMilligrams(
double value) → double - Converts the supplied Carats value to Milligrams
-
toOunces(
double value) → double - Converts the supplied Carats value to Ounces
-
toPounds(
double value) → double - Converts the supplied Carats value to Pounds
-
toStones(
double value) → double - Converts the supplied Carats value to Stones
-
toTonnes(
double value) → double - Converts the supplied Carats value to Tonnes