isSdk property

bool isSdk

Returns true if this represents a 'Dart' SDK.

A package can be part of Dart and Flutter at the same time, but if we are part of a Dart SDK, sdkType should never return null.

Implementation

bool get isSdk;