Created
September 18, 2022 21:55
-
-
Save ReneeVandervelde/a4398b65648f730c4d128d56939e8122 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
value class LightType private constructor( | |
private val type: String, | |
) { | |
companion object { | |
val LightBulb = LightType("light_bulb") | |
val LightStrip = LightType("light_strip") | |
val FloodLight = LightType("flood_light") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment