isPotentiallyNonNullable abstract method
Return true
if the type
is a potentially non-nullable type.
We say that a type T
is potentially non-nullable if T
is not nullable.
Note that this is different from saying that T
is non-nullable. For
example, a type variable X extends Object?
is a type which is
potentially non-nullable but not non-nullable.
The result of this method is undefined when the experiment 'non-nullable' is not enabled.
Implementation
bool isPotentiallyNonNullable(DartType type);