PRIVATE
A private declaration is visible inside its containing declaration and all its members, or inside the whole file if the declaration is top-level.
private fun privateFunction() {} // private (visible in the file)
class Foo {
private fun privateMember() {} // private (visible in `Foo`)
}
Properties