Object class
Provides functionality common to all JavaScript objects.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- Object([dynamic value])
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
assign
→ ({dynamic Function(Object target, [Iterable? sources]) $1, Object Function<
T extends IInline8, U, V, W>(T target, U source1, V source2, W source3) $2}) -
Overload accessor: $1, $2
no setter
- create → ({dynamic Function([Object? o]) $1, dynamic Function(Object properties, [Object? o]) $2})
-
Overload accessor: $1, $2
no setter
-
defineProperties
↔ T Function<
T>(T, Object) -
getter/setter pair
-
defineProperty
↔ T Function<
T>(T, Object, Object) -
getter/setter pair
-
entries
→ ({List<
(String, T)> Function<T>(Object o) $1, List<(String, dynamic)> Function(IInline20 o) $2}) -
Overload accessor: $1, $2
no setter
-
fromEntries
→ ({Object Function<
T>(Iterable< $1, dynamic Function(Iterable<(Object, T)> entries)List> entries) $2}) -
Overload accessor: $1, $2
no setter
- getOwnPropertyDescriptor ↔ PropertyDescriptor? Function(Object, [dynamic])
-
getter/setter pair
-
getOwnPropertyDescriptors
↔ Object Function<
T>(T) -
getter/setter pair
-
getOwnPropertyNames
↔ List<
String> Function([dynamic]) -
getter/setter pair
-
getOwnPropertySymbols
↔ List<
Symbol> Function([dynamic]) -
getter/setter pair
- getPrototypeOf ↔ dynamic Function([dynamic])
-
getter/setter pair
- hasOwn ↔ bool Function(Object, Object)
-
getter/setter pair
- is$ ↔ bool Function([dynamic, dynamic])
-
getter/setter pair
- isExtensible ↔ bool Function([dynamic])
-
getter/setter pair
- isFrozen ↔ bool Function([dynamic])
-
getter/setter pair
- isSealed ↔ bool Function([dynamic])
-
getter/setter pair
-
keys
→ ({List<
String> Function(Object o) $1, List<String> Function(IInline9 o) $2}) -
Overload accessor: $1, $2
no setter
-
preventExtensions
↔ T Function<
T>(T) -
getter/setter pair
-
seal
↔ T Function<
T>(T) -
getter/setter pair
- setPrototypeOf ↔ dynamic Function([dynamic, Object?])
-
getter/setter pair
-
values
→ ({List<
T> Function<T>(Object o) $1, List Function(IInline18 o) $2}) -
Overload accessor: $1, $2
no setter