ObjectConstructor class

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

ObjectConstructor.new()

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})

Available on ObjectConstructor, provided by the ObjectConstructor$Typings extension

Overload accessor: $1, $2
no setter
call → ({dynamic Function() $1, dynamic Function([dynamic value]) $2})

Available on ObjectConstructor, provided by the ObjectConstructor$Typings extension

Overload accessor: $1, $2
no setter
create → ({dynamic Function([Object? o]) $1, dynamic Function(Object properties, [Object? o]) $2})

Available on ObjectConstructor, provided by the ObjectConstructor$Typings extension

Overload accessor: $1, $2
no setter
entries → ({List<(String, T)> Function<T>(Object o) $1, List<(String, dynamic)> Function(IInline20 o) $2})

Available on ObjectConstructor, provided by the ObjectConstructor$Typings extension

Overload accessor: $1, $2
no setter
fromEntries → ({Object Function<T>(Iterable<(Object, T)> entries) $1, dynamic Function(Iterable<List> entries) $2})

Available on ObjectConstructor, provided by the ObjectConstructor$Typings extension

Overload accessor: $1, $2
no setter
hashCode int
The hash code for this object.
no setterinherited
keys → ({List<String> Function(Object o) $1, List<String> Function(IInline9 o) $2})

Available on ObjectConstructor, provided by the ObjectConstructor$Typings extension

Overload accessor: $1, $2
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values → ({List<T> Function<T>(Object o) $1, List Function(IInline18 o) $2})

Available on ObjectConstructor, provided by the ObjectConstructor$Typings extension

Overload accessor: $1, $2
no setter

Methods

freeze<T extends Function>(T f) → T

Available on ObjectConstructor, provided by the ObjectConstructor$Typings extension

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.
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

defineProperties ↔ T Function<T>(T, Object)
getter/setter pair
defineProperty ↔ T Function<T>(T, Object, Object)
getter/setter pair
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
preventExtensions ↔ T Function<T>(T)
getter/setter pair
seal ↔ T Function<T>(T)
getter/setter pair
setPrototypeOf ↔ dynamic Function([dynamic, Object?])
getter/setter pair