Nested Variable Naming
DashboardVar will name properties based on nested objects. For instance, with the following class, the dashboard will have a variable called Constants.PROPS
and another called Constants.Nested.PROPS
.
object Constants {
fun initProps() {
DashboardVar.initClassProps(Constants::class)
}
public var PROP by DashboardVar(2.0)
object Nested {
public var PROP by DashboardVar(3.0)
}
}