Skip to content

Instantly share code, notes, and snippets.

@eevajonnapanula
Created July 24, 2023 10:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eevajonnapanula/3a1289e158cfe02acf8217b7a3fba3e4 to your computer and use it in GitHub Desktop.
Save eevajonnapanula/3a1289e158cfe02acf8217b7a3fba3e4 to your computer and use it in GitHub Desktop.
data class Point(
val x: Float,
val y: Float,
val year: Int,
val percentage: Float,
val isHighlighted: Boolean = false,
) {
val percentageString = "${percentage.toInt()} %"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment