asConstantTextUnit
Source set: Android
public fun RemoteTextUnit.asConstantTextUnit(): TextUnit
Converts this RemoteTextUnit to a TextUnit if it has a constant value.
Return
the constant TextUnit value of this RemoteTextUnit
Throws: IllegalStateException
if this state does not have a constant value.