isExactlyType abstract method
Checks if types are exactly the same.
Returns true if representing the exact same type as typeRef.
This will always return false for types without a backing class such as
void or function types.
Implementation
bool isExactlyType(DartType typeRef);