$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})
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})
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})
Overload accessor: $1, $2
no setter

Methods

defineProperty(Object target, Object propertyKey, Object attributes) bool
Adds a property to an object, or modifies attributes of an existing property.
deleteProperty(Object target, Object propertyKey) bool
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
Gets the property of target, equivalent to target[propertyKey] when receiver === target.
getOwnPropertyDescriptor<T extends Object, P extends Object>(T target, P propertyKey) TypedPropertyDescriptor?
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?
Returns the prototype of an object.
has(Object target, Object propertyKey) bool
Equivalent to propertyKey in target.
isExtensible(Object target) bool
Returns a value that indicates whether new properties can be added to an object.
ownKeys(Object target) List<Object>
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
Prevents the addition of new properties to an object.
setPrototypeOf(Object target, [Object? proto]) bool
Sets the prototype of a specified object o to object proto or null.