for example: ``` data class ViewportInfo @JvmOver...
# announcements
a
for example:
Copy code
data class ViewportInfo @JvmOverloads constructor (val startTime: Long, val duration: Long, val channelIds: List<String> = emptyList())
now you have two constructors, one with the channelids at the end, one without. Calling without will use the defaut value (notice that I changed your
Collections.emptyList()
to just be
emptyList()