JSBigIntObject class
- Inheritance
- Available extensions
Constructors
- JSBigIntObject(BigInt primitiveValue)
Properties
- asRegExp → JSRegExp
-
Available on JSValue, provided by the JSValueRegExpExtension extension
Cast to JSRegExp (throws an error if it's not a RegExp)no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- isBigInt → bool
-
no setterinherited
- isBoolean → bool
-
no setterinherited
- isExtensible ↔ bool
-
getter/setter pairinherited
- isFalsy → bool
-
Check if value is "falsy"
no setterinherited
- isFunction → bool
-
no setterinherited
- isIterable → bool
-
Available on JSObject, provided by the JSIterableExtension extension
Verifies if the object is iterableno setter - isNull → bool
-
no setterinherited
- isNumber → bool
-
no setterinherited
- isObject → bool
-
no setterinherited
- isPrimitive → bool
-
Check if value is "primitive" (non-object)
no setterinherited
- isRegExp → bool
-
Available on JSValue, provided by the JSValueRegExpExtension extension
Check if this value is a RegExpno setter - isString → bool
-
no setterinherited
- isSymbol → bool
-
no setterinherited
- isTruthy → bool
-
Check if value is "truthy"
no setterinherited
- isUndefined → bool
-
Type checks
no setterinherited
- primitiveValue → BigInt
-
Get the underlying primitive value
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → JSValueType
-
no setterinherited
Methods
-
createDataPropertyOrThrow(
String name, JSValue value) → void -
CreateDataPropertyOrThrow (ES6) - Used by Array.from
Attempts to create or update a data property
Throws TypeError if it fails
inherited
-
defineConstructorProperty(
JSValue constructor) → void -
Defines the standard prototype
constructorproperty.inherited -
defineGetter(
String name, JSFunction getter, {bool enumerable = false, JSSymbol? symbol}) → void -
Define a getter for a property
Defines a getter for a property.
enumerabledefaults to false for Object.defineProperty compatibility, but should be true for object literal getters per ES6 spec.inherited -
defineProperty(
String name, PropertyDescriptor descriptor) → void -
Define a property with a complete descriptor (Object.defineProperty)
inherited
-
defineSetter(
String name, JSFunction setter, {bool enumerable = false, JSSymbol? symbol}) → void -
Defines a setter for a property.
enumerabledefaults to false for Object.defineProperty compatibility, but should be true for object literal setters per ES6 spec.inherited -
deleteProperty(
String name) → bool -
Supprime a property
inherited
-
equals(
JSValue other) → bool -
Comparison operations
inherited
-
getAccessorDescriptor(
String name) → PropertyDescriptor? -
Obtient le descriptor d'un accessor sans l'appeler
inherited
-
getForInPropertyNames(
) → List< String> -
Obtient les noms de propertes pour les boucles for-in
Ordre selon la specification ES2015+: numeriques d'abord (tries), puis strings (ordre d'insertion)
inherited
-
getInternalSlot(
String name) → dynamic -
Get an internal slot value
inherited
-
getIterator(
) → JSIterator? -
Available on JSObject, provided by the JSIterableExtension extension
Gets the iterator for this object -
getOwnPropertyDescriptor(
String name) → PropertyDescriptor? -
Get the descriptor of a property (Object.getOwnPropertyDescriptor)
inherited
-
getOwnPropertyDirect(
String name) → JSValue? -
Obtient a property propre (sans recherche dans la chaine de prototypes)
Utilise par ES2020 matchAll pour acceder aux propertes personnalisees d'arrays
inherited
-
getProperty(
String name) → JSValue -
Get a property
inherited
-
getPropertyBySymbol(
JSSymbol symbol) → JSValue -
ES6: Gets a property value using a symbol key
inherited
-
getPropertyNames(
{bool enumerableOnly = false}) → List< String> -
Obtient all cles de propertes
inherited
-
getPrototype(
) → JSObject? -
Obtient le prototype de cet objet
inherited
-
getSymbolKeys(
) → Iterable< JSSymbol> -
ES6: Returns all symbol keys tracked on this object (not including prototype chain)
Used by Object.getOwnPropertySymbols()
inherited
-
hasAccessorProperty(
String name) → bool -
Verifie si a property est un accessor (getter/setter)
inherited
-
hasInternalSlot(
String name) → bool -
Check if an internal slot exists
inherited
-
hasOwnProperty(
String name) → bool -
Verifie si a property existe dans les propertes propres (pas la chaine de prototypes)
inherited
-
hasProperty(
String name) → bool -
Verifie si a property existe (heritee ou non)
inherited
-
makeIterable(
JSIterator iteratorFactory()) → void -
Available on JSObject, provided by the JSIterableExtension extension
Add Symbol.iterator to an object -
markAsArgumentsObject(
) → void -
Marks this object as an arguments object for strict property access handling
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerSymbolKey(
String propertyKey, JSSymbol symbol) → void -
Register a symbol key for tracking (used when defineProperty is called with a symbol key)
inherited
-
setInternalSlot(
String name, dynamic value) → void -
Set an internal slot value
inherited
-
setProperty(
String name, JSValue value) → void -
Define a property
inherited
-
setPropertyWithSymbol(
String stringKey, JSValue value, JSSymbol symbol) → void -
ES6: Sets a property with a symbol key and tracks the symbol
inherited
-
setPrototype(
JSObject? prototype) → void -
Definit le prototype de cet objet
inherited
-
strictEquals(
JSValue other) → bool -
inherited
-
toBoolean(
) → bool -
JavaScript type conversions (coercion)
inherited
-
toMap(
) → Map< String, dynamic> -
Convertit le JSObject en Map Dart pour un acces facile aux propertes
Cela evite les multiples appels a getProperty() dans les tests
inherited
-
toNumber(
) → double -
inherited
-
toObject(
) → JSObject -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited