isDartCoreDateTime property
bool
isDartCoreDateTime
Returns true
if this type represents the type 'DateTime' defined in the dart:core library.
Implementation
bool get isDartCoreDateTime => isDartCore && element?.name == 'DateTime';