parse static method

LengthConverter? parse(
  1. String id
)

Returns the LengthConverter for this id or null if there is no LengthConverter associated with this id.

Implementation

static LengthConverter? parse(String id) => units.find(id);