ListAtom<T> class abstract

Inheritance
Implementers

Constructors

ListAtom()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value List<T>
The current value of the object. When the value changes, the callbacks registered with addListener will be invoked.
no setteroverride

Methods

add(T value) → void
Adds a value to the iterable atom
inherited
addAll(Iterable<T> values) → void
Adds all values to the iterable atom
inherited
addListener(VoidCallback listener) → void
Register a closure to be called when the object notifies its listeners.
inherited
clear() → void
Clears all values from the iterable atom
inherited
insert(int index, T value) → void
Inserts a value at the given index
insertAll(int index, Iterable<T> values) → void
Inserts all values at the given index
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(T value) → void
Removes a value from the iterable atom
inherited
removeAll(Iterable<T> values) → void
Removes all values from the iterable atom
inherited
removeAt(int index) → void
Removes the value at the given index
removeLast() → void
Removes the last value
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that the object notifies.
inherited
removeRange(int start, int end) → void
Removes a range of values
replaceRange(int start, int end, Iterable<T> values) → void
Replaces a range of values with the given values
set(Iterable<T> value) → void
Sets a given value for this atom
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited