isValid method

bool isValid()

Implementation

bool isValid() =>
    num.tryParse(value.asUcumDecimal()) != null &&
    UcumService().validate(unit) == null;