$LengthUnit.wrap constructor

$LengthUnit.wrap(
  1. LengthUnit $value
)

Wrap a LengthUnit in a $LengthUnit

Implementation

$LengthUnit.wrap(this.$value) : _superclass = $Object($value);