IncompatibleUnitsException constructor

const IncompatibleUnitsException(
  1. Unit<PhysicalProperty> anUnit,
  2. Unit<PhysicalProperty> anotherUnit
)

Implementation

const IncompatibleUnitsException(this.anUnit, this.anotherUnit);