isDogPrimitiveType function
Implementation
bool isDogPrimitiveType(DartType type) {
if (type is DynamicType || type is VoidType) return true;
return _stringChecker.isExactlyType(type) ||
_intChecker.isExactlyType(type) ||
_doubleChecker.isExactlyType(type) ||
_boolChecker.isExactlyType(type);
}