getUnit method

  1. @override
Unit getUnit(
  1. T name
)
override

Returns the Unit with the corresponding name

Implementation

@override
Unit getUnit(T name) => _mapUnitsMap[name]!;