AnalyzeCommand constructor

AnalyzeCommand(
  1. FileService _fileService,
  2. ImageService _imageService,
  3. AnalysisState _state, [
  4. UsageService? usageService,
])

Creates an analyze command with required services.

Implementation

AnalyzeCommand(
  this._fileService,
  this._imageService,
  this._state, [
  UsageService? usageService,
]) : _usageService = usageService ?? UsageService();