removeAt method

  1. @override
E removeAt(
  1. int index
)
override

Removes and returns the last object in this list.

The list must be growable and non-empty.

final parts = ['head', 'shoulder', 'knees', 'toes'].notifier;
final retVal = parts.removeLast(); // toes
print(parts); // [head, shoulder, knees]

Implementation

@override
E removeAt(int index) => _updateOnAction(() => value.removeAt(index));