astronomical_measurements 0.2.8 astronomical_measurements: ^0.2.8 copied to clipboard
The library for keeping and converting astronomical measurements. Feel free to use it in your awesome projects.
// ignore_for_file: avoid_print
import 'package:astronomical_measurements/astronomical_measurements.dart';
void main() {
final u = Unit.parsec(12);
print('$u = ${u.toLightYear} = ${u.toAstronomicalUnit} = ${u.toKilometre}');
}