currentRoute property

Route? get currentRoute

Implementation

Route? get currentRoute => _history.isNotEmpty ? _history.last : null;