HKQuantity constructor

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

Creates a new quantity with the specified value and unit.

Implementation

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