Last active
February 28, 2018 06:27
-
-
Save husaynhakeem/6b4311a03cc30b93b832bd3c01a5e09d 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
| data class Pokemon( | |
| val name: String = "", | |
| val type: PokemonType = PokemonType.NORMAL, | |
| val height: Double = 0.0, | |
| val weight: Double = 0.0 | |
| ) | |
| val pikachu = Pokemon("Pikachu", PokemonType.ELECTRIC, 0.4, 6.0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment