$ModuleReflect class
- Available extensions
- Annotations
-
- @JS('Reflect')
- @staticInterop
Constructors
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, $2no 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, $2no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
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, $2no 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 todelete target[propertyKey]
, except it won't throw iftarget[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 totarget[propertyKey]
whenreceiver === 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 topropertyKey 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. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
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. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited