Creating profile model

Create a Profile data class named Profile.kt, and here is the sample code:

data class Profile(
@SerializedName("id") var userID: String,
@SerializedName("username") var username: String,
@SerializedName("password") var password: String,
@SerializedName("email") var email: String,
@SerializedName("accCreatedTime") var accCreatedTime: String,
@SerializedName("firstName") var firstName: String,
@SerializedName("lastName") var lastName: String,
@SerializedName("contactNumber") var contactNumber: String,
@SerializedName("country") var country: String
)
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.137.67