withNullability method

KType withNullability(
  1. Boolean nullable
)

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

Implementation

KType withNullability(Boolean nullable) => this;