ListReplaceAll<E> class
final
Replaces the whole list. items is held as given — a const op cannot copy
it — so a caller that keeps mutating the list it passed in would see the
change.
- Inheritance
-
- Object
- ListPatchOp<
E> - ListReplaceAll
Constructors
-
ListReplaceAll(List<
E> items) -
const
Properties
Methods
-
apply(
List< E> _) → List<E> -
Applies this operation to
targetand returns the resulting list.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override