OptimizationResult class
Constructors
- OptimizationResult({required AssetInfo originalAsset, required int optimizedSize, required int savedBytes, required DateTime optimizedAt})
-
OptimizationResult.fromJson(Map<
String, dynamic> json) -
factory
Properties
- assetType → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- optimizedAt → DateTime
-
final
- optimizedSize → int
-
final
- originalAsset → AssetInfo
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- savedBytes → int
-
final
- savingsPercentage → double
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited