last property

  1. @override
V get last
override

Implementation

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