$ModuleReflect$Typings extension

on

Properties

apply → ({R Function<T, A extends List, R>(R target([Iterable?]), T thisArgument, dynamic argumentsList) $1, dynamic Function(Function target, List argumentsList, [dynamic thisArgument]) $2})

Available on $ModuleReflect, provided by the $ModuleReflect$Typings extension

Overload accessor: $1, $2
no setter
construct → ({R Function<A extends List, R>(R target([Iterable?]), dynamic argumentsList, [dynamic newTarget([Iterable?])?]) $1, dynamic Function(Function target, List argumentsList, [Function? newTarget]) $2})

Available on $ModuleReflect, provided by the $ModuleReflect$Typings extension

Overload accessor: $1, $2
no setter
set → ({bool Function<T extends Object, P extends Object>(T target, P propertyKey, [dynamic value, dynamic receiver]) $1, bool Function(Object target, Object propertyKey, [dynamic value, dynamic receiver]) $2})

Available on $ModuleReflect, provided by the $ModuleReflect$Typings extension

Overload accessor: $1, $2
no setter

Methods

defineProperty(Object target, Object propertyKey, Object attributes) bool

Available on $ModuleReflect, provided by the $ModuleReflect$Typings extension

Adds a property to an object, or modifies attributes of an existing property.
deleteProperty(Object target, Object propertyKey) bool

Available on $ModuleReflect, provided by the $ModuleReflect$Typings extension

Removes a property from an object, equivalent to delete target[propertyKey], except it won't throw if target[propertyKey] is non-configurable.
get<T extends Object, P extends Object>(T target, P propertyKey, [Object? receiver]) → dynamic

Available on $ModuleReflect, provided by the $ModuleReflect$Typings extension

Gets the property of target, equivalent to target[propertyKey] when receiver === target.
getOwnPropertyDescriptor<T extends Object, P extends Object>(T target, P propertyKey) TypedPropertyDescriptor?

Available on $ModuleReflect, provided by the $ModuleReflect$Typings extension

Gets the own property descriptor of the specified object. An own property descriptor is one that is defined directly on the object and is not inherited from the object's prototype.
getPrototypeOf(Object target) Object?

Available on $ModuleReflect, provided by the $ModuleReflect$Typings extension

Returns the prototype of an object.
has(Object target, Object propertyKey) bool

Available on $ModuleReflect, provided by the $ModuleReflect$Typings extension

Equivalent to propertyKey in target.
isExtensible(Object target) bool

Available on $ModuleReflect, provided by the $ModuleReflect$Typings extension

Returns a value that indicates whether new properties can be added to an object.
ownKeys(Object target) List<Object>

Available on $ModuleReflect, provided by the $ModuleReflect$Typings extension

Returns the string and symbol keys of the own properties of an object. The own properties of an object are those that are defined directly on that object, and are not inherited from the object's prototype.
preventExtensions(Object target) bool

Available on $ModuleReflect, provided by the $ModuleReflect$Typings extension

Prevents the addition of new properties to an object.
setPrototypeOf(Object target, [Object? proto]) bool

Available on $ModuleReflect, provided by the $ModuleReflect$Typings extension

Sets the prototype of a specified object o to object proto or null.