I'm getting this message: `function effective visi...
# getting-started
g
I'm getting this message:
function effective visibility 'public' should be the same or less permissive than its return type effective visibility internal
Any idea whats wrong with this function that used to work since i've upgraded?
Copy code
fun getTimeLine(): Observable<Data> {
        return service.getTimeLine()
                .flatMap { Observable.from(it) }
                .filter { it.value != null}
                .toList()
                .map { Timeline(it) }

    }