I'm tried to annotate like @property but it is not right. Dokka does not recognise it
For example enum:
enum class Vegetables(val id: Int) {
POTATO(1),
CARROT(2),
CUCUMBER(3)
}
I'm tried to annotate like @property but it is not right. Dokka does not recognise it
For example enum:
enum class Vegetables(val id: Int) {
POTATO(1),
CARROT(2),
CUCUMBER(3)
}
Copyright © 2021 Jogjafile Inc.
You can take a look at the Kotlin documentation about how to put doc comments in the code.
You can place documentation wherever the thing you want to document is.
Alternatively, you can also document properties from the class doc: