astronomical_measurements 0.2.1
astronomical_measurements: ^0.2.1 copied to clipboard
The library for keeping and converting astronomical measurements.
Astronomical Measurements Library #
Keeping and converting astronomical measurements. Well-tested Dart package.
Usage #
Converting #
final u = Unit.parsec(12);
print('$u = ${u.toLightYear} = ${u.toKilometre}');
See also the folder test
for the use cases.
Supported Units #
Distance, Size #
- gigaparsec
- megaparsec
- kiloparsec
- parsec
- light year
- million astronomical units
- thousand astronomical units
- hundred astronomical units
- astronomical unit
- million kilometres
- thousand kilometres
- hundred kilometres
- kilometre
- metre
- centimetre
- millimetre
License #
MIT