isTripActive static method
Checks 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.
Implementation
static bool isTripActive({final TaskHandler? taskHandler}) {
  final OperationResult result = staticMethod(
    'NavigationService',
    'isTripActive',
    args: taskHandler ?? <dynamic, dynamic>{},
  );
  return result['result'];
}