toJson method
Implementation
Map<String, dynamic> toJson() => {
'originalAsset': originalAsset.toJson(),
'optimizedSize': optimizedSize,
'savedBytes': savedBytes,
'optimizedAt': optimizedAt.toIso8601String(),
'savingsPercentage': savingsPercentage,
};