OptimizationResult.fromJson constructor
Implementation
factory OptimizationResult.fromJson(Map<String, dynamic> json) =>
OptimizationResult(
originalAsset: AssetInfo.fromJson(json['originalAsset']),
optimizedSize: json['optimizedSize'],
savedBytes: json['savedBytes'],
optimizedAt: DateTime.parse(json['optimizedAt']),
);