OptimizeCommand class

Optimizes project assets based on analysis results.

Constructors

OptimizeCommand(FileService _fileService, ImageService _imageService, CacheService _cacheService, OptimizationState _state)
Creates an optimize command with required services.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

execute(AnalysisResult analysis, OptimizationConfig config) Future<List<OptimizationResult>>
Optimizes assets identified in the analysis.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited