isNullableSelf<C, T> function

bool isNullableSelf<C, T>()

Returns whether the given type T is a nullable of the given non-nullable type C.

Implementation

@pragma("vm:always-consider-inlining")
bool isNullableSelf<C, T>() => isNullable<T>() && <C?>[] is List<T>;