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