getUnit method

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

Returns the Unit with the corresponding name

Implementation

@override
Unit getUnit(var name) =>
    _unitList.where((element) => element.name == name).single;