DartType
from analyzer package have some properties:
isDartCoreNum
, isDartCoreInt
, isDartCoreDouble
How to do check DartType is custom type (DartType
represents Employee
or Bus
NOT int
or double
)?
This is necessary for I need to discover FieldElement
type during analyze of code. How to do it?