isNullableSelf<C, T> function
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>;