it would work as `val errors = torrent?.error?.let...
# getting-started
m
it would work as
val errors = torrent?.error?.let{ listOf(it) } ?: null