isBasicType<T> static method
Implementation
static bool isBasicType<T>([Type? type]) {
type ??= T;
if (isPrimitiveType<T>(type) || TypeParser.isCollectionType<T>(type)) {
return true;
}
if (type == DateTime ||
type == Time ||
type == BigInt ||
type == Decimal ||
type == DynamicInt ||
type == DynamicNumber ||
type == Uint8List) return true;
return false;
}