logLeavesImageSize method

Future<void> logLeavesImageSize(
  1. File source
)

Implementation

Future<void> logLeavesImageSize(File source) async {
  await analytics?.logEvent(
    name: 'leaves_image_pick',
    parameters: <String, dynamic>{
      'image_size': source.lengthSync() / 1024 / 1024,
    },
  );
}