isDartCore property

bool isDartCore

Returns true if this type represents a type defined in the dart:core library.

Implementation

bool get isDartCore => element?.library?.isDartCore ?? false;