currentRoute property

HbCurrentRoute? get currentRoute

Implementation

static HbCurrentRoute? get currentRoute {
  if (history.isEmpty) return null;
  return history.last;
}