promoteToNonNull abstract method

DartType promoteToNonNull(
  1. DartType type
)

Returns a non-nullable version of type. This is equivalent to the operation NonNull defined in the spec.

Implementation

DartType promoteToNonNull(DartType type);