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