parse static method

WeightConverter? parse(
  1. String id
)

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

Implementation

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