revealInFinder method
Reveal path in the platform file manager.
Implementation
@override
Future<void> revealInFinder(String path) async {
if (_platform == NativePlatform.macos) {
await _runSimple('open', ['-R', path]);
} else if (_platform == NativePlatform.linux) {
await _runSimple('xdg-open', [File(path).parent.path]);
} else if (_platform == NativePlatform.windows) {
await _runSimple('explorer', ['/select,', path]);
}
}