process static method
Future<String>
process({
- required XFile shot,
- required DeviceOrientation orientation,
- 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,
);
}
}