toLegacyTypeIfOptOut method

DartType toLegacyTypeIfOptOut (
  1. DartType type
)

If a legacy library, return the legacy version of the type. Otherwise, return the original type.

Implementation

DartType toLegacyTypeIfOptOut(DartType type);