HoldingHandler class

A class for handling special units.

This is a placeholder implementation. If you want to actually use one of these units, then you'll have to figure out how to implement them.

Inheritance

Constructors

HoldingHandler(String code, String units)
Constructor for the handler with a specified code and unit.
HoldingHandler.withValue(String code, String units, UcumDecimal value)
Constructor with a specified value.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getCode() String
Used to connect this handler with the case sensitive unit.
override
getOffset() UcumDecimal
Get the conversion offset value.
override
getUnits() String
The alternate units to convert to.
override
getValue() UcumDecimal
Get the conversion value.
override
hasOffset() bool
Return true if the conversion offset value is not equal to 0.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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