Handle int, num, double, String, bool
Object? basicTypeCastType(Type type, Object? value) { if (value == null) { return null; } else { return _nonNullBasicTypeCastType(type, value); } }