Length constructor

Length(
  1. double value, [
  2. Unit unit = Unit.px
])

Implementation

Length(
  double value, [
  Unit unit = Unit.px,
]) : super(
        value,
        unit,
        UnitType.length,
      );