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