inch property

Inch get inch

Implementation

Inch get inch {
  return when(
    inch: (value, _) => Inch(value),
    cm: (value) => Inch(value / 2.54),
  );
}