onNavigatorObservers method

List<NavigatorObserver>? onNavigatorObservers()

Returns a List of Navigation Observers if any.

Implementation

List<NavigatorObserver>? onNavigatorObservers() =>
    inNavigatorObservers != null
        ? inNavigatorObservers!()
        : const <NavigatorObserver>[];