MassValues class Null safety

Constructors

MassValues({required Mass from, required double number})
const

Properties

from Mass
final
hashCode int
The hash code for this object.
read-onlyinherited
number double
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
toGram double
read-only
toImperialTon double
read-only
toKilogram double
read-only
toMicrogram double
read-only
toMilligram double
read-only
toOunce double
read-only
toPound double
read-only
toStone double
read-only
toTonne double
read-only
toUSTon double
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
to(Mass to) double
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited