CanonicalUnit constructor

const CanonicalUnit({
  1. required String unit,
  2. required double value,
})

Implementation

const CanonicalUnit({
  required this.unit,
  required this.value,
});