Something went wrong. Try again.
Material MkDocs theme for Dokka, Kotlin's documentation engine dokka-mkdocs.opensavvy.dev
kotlin dokka documentation material-mkdocs
Something went wrong. Try again.
614 B · 33 lines
Kotlin
at main
12345678910111213141516171819202122232425262728293031323334package opensavvy.dokka.material.mkdocs.example
/** * Simple interface. */sealed interface MyInterface {
/** * This is a method from the interface [MyInterface]. * * It is not overridden by the class [Example]. */ fun fromInterface1(): String { return "initial" }
/** * This is a method from the interface [MyInterface]. * * It is override by the class [Example]. */ fun fromInterface2(): String}
/** * A fake constructor that instantiates a [MyInterface] instance. * * ### Implementation details * * It uses the [Example] class. */fun MyInterface(): MyInterface = Example()