DriverBehaviour constructor

DriverBehaviour({
  1. required DataSource dataSource,
  2. required bool useMapMatch,
})

Creates a new driver behaviour instance.

Parameters

  • dataSource: The configured DataSource that provides position and sensor data used for analysis.
  • useMapMatch: If true, position samples will be matched to the road network before analysis which can improve event detection accuracy.

Also see:

Implementation

factory DriverBehaviour({
  required final DataSource dataSource,
  required final bool useMapMatch,
}) {
  return DriverBehaviour._create(dataSource, useMapMatch);
}