openFilePicker method
Implementation
@Deprecated('use [openFile] instead.')
Future<FileInfo?> openFilePicker() async {
_logger.finest('openFilePicker()');
final result =
await _channel.invokeMapMethod<String, String>('openFilePicker');
if (result == null) {
// User cancelled.
_logger.finer('User cancelled file picker.');
return null;
}
return _resultToFileInfo(result);
}