Object class

Provides functionality common to all JavaScript objects.

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

Object([dynamic value])
factory

Properties

constructor Function

Available on Object, provided by the Object$Typings extension

The initial value of Object.prototype.constructor is the standard built-in Object constructor.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasOwnProperty bool Function(Object)

Available on Object, provided by the Object$Typings extension

getter/setter pair
isPrototypeOf bool Function(Object)

Available on Object, provided by the Object$Typings extension

getter/setter pair
propertyIsEnumerable bool Function(Object)

Available on Object, provided by the Object$Typings extension

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toLocaleString String Function()

Available on Object, provided by the Object$Typings extension

getter/setter pair
toString$ String Function()

Available on Object, provided by the Object$Typings extension

getter/setter pair
valueOf Object Function()

Available on Object, provided by the Object$Typings extension

getter/setter pair

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<(Object, T)> entries) $1, dynamic Function(Iterable<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

Static Methods

freeze<T extends Function>(T f) → T
Prevents the modification of existing property attributes and values, and prevents the addition of new properties. @param f Object on which to lock the attributes.