previous property

T? get previous

Get the previous value (if any).

Implementation

T? get previous => _history.isNotEmpty ? _history.last : null;