decode

fun decode(data: Any?): UnitSystem?

Returns a valid UnitSystem for data, null otherwise.