from

fun from(value: Int): UserPremium(source)

Returns an instance of UserPremium with UserPremium.value equal to the specified value.