SawLocalDatasourceImpl constructor

SawLocalDatasourceImpl({
  1. DecisionMakingHelper? helper,
  2. Stopwatch? stopwatch,
  3. DecisionIsolateMain? isolate,
})

Creates an instance of SawLocalDatasourceImpl.

Parameters:

  • helper: Helper for utility functions (defaults to new instance)
  • stopwatch: Stopwatch for performance measurement (currently unused)
  • isolate: Isolate manager for heavy computations (defaults to new instance)

Implementation

SawLocalDatasourceImpl({
  DecisionMakingHelper? helper,
  Stopwatch? stopwatch,
  DecisionIsolateMain? isolate,
})  : _helper = helper ?? DecisionMakingHelper(),
      _isolate = isolate ?? DecisionIsolateMain();