static bool isReflectedEnumType<T>([Type? type]) { type ??= T; if (isBasicType<T>(type)) return false; return _isReflectedEnumTypeImpl(type); }