process static method

Future<String> process({
  1. required XFile shot,
  2. required DeviceOrientation orientation,
  3. required bool fourThree,
})

Implementation

static Future<String> process({
  required XFile shot,
  required DeviceOrientation orientation,
  required bool fourThree,
}) async {
  if (Platform.isIOS) {
    return PhotoProcessorIOS.process(
      shot: shot,
      orientation: orientation,
      fourThree: fourThree,
    );
  } else {
    return PhotoProcessorAndroid.process(
      shot: shot,
      orientation: orientation,
      fourThree: fourThree,
    );
  }
}