last property

  1. @override
V last
override

Implementation

@override
V get last {
  _TreeNode<V>? max = _root?.maximumNode;
  if (max != null) {
    return max.object;
  }
  throw StateError('No last element');
}