removeLast method
T
removeLast()
Removes and returns the last element.
Example
final q = Ref(Queue.of([1, 2, 3]));
final x = q.removeLast(); // x = 3
Implementation
T removeLast() {
final v = $.removeLast();
notifyChange();
return v;
}