toNullable method

Kind<T?> toNullable()

Constructs Kind for T?.

Implementation

Kind<T?> toNullable() => (_expandoForToNullable[this] ??=
    NullableKind<T>(this)) as NullableKind<T>;