Skip to content

Instantly share code, notes, and snippets.

@varundwarkani
Created May 7, 2021 19:15
Show Gist options
  • Save varundwarkani/283c15bb4b44d38a58e2ebc386e650c9 to your computer and use it in GitHub Desktop.
Save varundwarkani/283c15bb4b44d38a58e2ebc386e650c9 to your computer and use it in GitHub Desktop.
class News {
var newsid = 0
var newstitle: String? = null
var newscontent: String? = null
var newsimg: String? = null
var credits: String? = null
get() = "Tap for more at - $field"
var newscredits: String? = null
var newsdatetime: String? = null
var isActive = 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment