getRealPath static method
Get real file path from content URI
Implementation
static Future<String?> getRealPath(String path, String type) async {
try {
final result = await _channel.invokeMethod('getRealPath', {
'path': path,
'type': type,
});
return result is String ? result : null;
} catch (e) {
return null;
}
}