move method

  1. @override
void move(
  1. int oldIndex,
  2. int newIndex, {
  3. bool notify = true,
})
override

Moves an item from one position to another

This method accepts two int as indices, to move a ItemSerializable from one place to another

Implementation

@override
void move(int oldIndex, int newIndex, {bool notify = true}) {
  super.move(oldIndex, newIndex);
  if (notify) notifyListeners();
}