Skip to content

Instantly share code, notes, and snippets.

@husaynhakeem
Last active February 28, 2018 06:27
Show Gist options
  • Save husaynhakeem/6b4311a03cc30b93b832bd3c01a5e09d to your computer and use it in GitHub Desktop.
Save husaynhakeem/6b4311a03cc30b93b832bd3c01a5e09d to your computer and use it in GitHub Desktop.
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