freeze

abstract override fun freeze()(source)

Makes this value immutable.

After this method has been called, the value can never be modified again. This ensures that values cannot change after they have been used within other values.