An interface for a collection with countable items.
- Implementers
Constructors
- Counted()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEmpty → bool
-
Returns true if the collection has no elements.
no setter
- isNotEmpty → bool
-
Returns true if the collection has at least one element.
no setter
- length → int
-
Returns the number of elements in this collection.
no setter
- 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