UcumService class

Constructors

UcumService()
factory

Properties

handlers Registry
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
model UcumModel
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

analyse(String unit) String
checkStringParam(String s) bool
convert(UcumDecimal value, String sourceUnit, String destUnit) UcumDecimal
divideBy(Pair dividend, Pair divisor) Pair
getCanonicalForm(Pair value) Pair
getCanonicalUnits(String unit) String
getCommonDisplay(String code) String
getDefinedForms(String code) List<DefinedUnit>
getProperties() Set<String>
isComparable(String units1, String units2) bool
isEqual(ValidatedQuantity value1, ValidatedQuantity value2) bool
isValid(ValidatedQuantity validatedQuantity) bool
multiply(Pair o1, Pair o2) Pair
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paramError(String method, String param, String msg) String
toString() String
A string representation of this object.
inherited
validate(String unit) String?
validateCanonicalUnits(String unit, String canonical) String
validateInProperty(String unit, String property) String
validateUCUM() List<String>

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

ucumOid → const String