regenerateAbsolutePath method
Implementation
@override
Future<String> regenerateAbsolutePath(String absolutePath) async {
if (Platform.isIOS) {
final fileName = absolutePath.split('/').lastOrDefault();
final diectoryPath = await getAppDocumentsDirectoryPath();
return '$diectoryPath/$fileName';
}
return absolutePath;
}