lastCause method

LogEntry? lastCause()

The most recent mutation or frame batch the log still holds.

Implementation

LogEntry? lastCause() {
  _check();
  return _log.last((entry) => entry is MutationLog || entry is FramesLog);
}