convertTo

open fun convertTo(source: S): T

Total forward conversion (S -> T). Override if the direction is supported; the non-overridden default throws with a direction-precise S -> T message.