toConstantColor
Source set: Android
@Stable public fun RemoteColor.toConstantColor(): Color
Converts this RemoteColor to a Color if it has a constant value.
Return
the constant Color value of this RemoteColor
Throws: IllegalStateException
if this state does not have a constant value.