TestItemCollection class

Collection of test items, found in {@link TestItem.children} and {@link TestController.items}.

Implemented types
Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

TestItemCollection.new({num? size, void replace(List<TestItem>)?, void forEach(Object? (TestItem, TestItemCollection), [dynamic])?, void add(TestItem)?, void delete(String)?, TestItem? get(String)?})
factory

Properties

add ↔ void Function(TestItem)

Available on TestItemCollection, provided by the TestItemCollection$Typings extension

getter/setter pair
delete ↔ void Function(String)

Available on TestItemCollection, provided by the TestItemCollection$Typings extension

getter/setter pair
forEach ↔ void Function(Object? (TestItem, TestItemCollection), [dynamic])

Available on TestItemCollection, provided by the TestItemCollection$Typings extension

getter/setter pair
get TestItem? Function(String)

Available on TestItemCollection, provided by the TestItemCollection$Typings extension

getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
replace ↔ void Function(List<TestItem>)

Available on TestItemCollection, provided by the TestItemCollection$Typings extension

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size num

Available on TestItemCollection, provided by the TestItemCollection$Typings extension

Gets the number of items in the collection.
no setter

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