Returns a non-nullable version of type. This is equivalent to the operation NonNull defined in the spec.
type
NonNull
DartType promoteToNonNull(DartType type);