asComponent

open override fun asComponent(): Component(source)

Builds a component representing the value and unit.