ListOperatorWrapper<E> class
- Inheritance
-
- Object
- IndexingOperatorWrapper<
int, E> - ListOperatorWrapper
Constructors
-
ListOperatorWrapper(Value1Callback<
int, E> onGet, Value2Callback<int, E, void> onSet, Value1Callback<int, void> onRemove) -
Creates a new instance of ListOperatorWrapper
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onGet
→ Value1Callback<
int, E> -
Called to retrieve a value by key.
finalinherited
-
onRemove
→ Value1Callback<
int, void> -
Called to remove a value by key.
finalinherited
-
onSet
→ Value2Callback<
int, E, void> -
Called to set a value by key.
finalinherited
- 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
-
operator [](
int key) → E -
Returns the value of
key
.inherited -
operator []=(
int key, E value) → void -
Sets the value of
key
tovalue
.inherited -
operator |(
int key) → void -
Removes
key
and its valueinherited