withNullability

Returns a new type with the same classifier, arguments and annotations as the given type, and with the given nullability.

Since Kotlin

1.1