startAccessingSecurityScopedResource method
Allows you to access the given FileSystemEntity. (which was previously stored as security aware bookmark). You should call stopAccessingSecurityScopedResource afterwards.
Implementation
Future<bool> startAccessingSecurityScopedResource(
FileSystemEntity entity) async {
return await _channel.invokeMethod(
'startAccessingSecurityScopedResource', {'file': entity.absolute.path});
}