logLeavesImageCompressSize method
Implementation
Future<void> logLeavesImageCompressSize(File source, File result) async {
await analytics?.logEvent(
name: 'leaves_image_compress',
parameters: <String, dynamic>{
'image_original_size': source.lengthSync() / 1024 / 1024,
'image_compress_size': result.lengthSync() / 1024 / 1024,
},
);
}