The error from the title is returned for the following code, which makes no sense
private val _error = MutableLiveData<String?>()
val error: LiveData<String?> get() = _error
_error.postValue(null) //Error Cannot set non-nullable LiveData value to null [NullSafeMutableLiveData]
parameter String of _error is obviously nullable, am I doing something wrong?