isNavigationActive static method
Check if there is an active navigation in progress.
Parameters
- IN navigationListener Navigation listener used to identify the navigation session.
Returns
- True if there is an active navigation in progress, false otherwise.
Throws
- An exception if it fails.
Implementation
static bool isNavigationActive({final TaskHandler? taskHandler}) {
final OperationResult result = staticMethod(
'NavigationService',
'isNavigationActive',
args: taskHandler ?? <dynamic, dynamic>{},
);
return result['result'];
}