saveFile static method
Displays a dialog for selecting a location where to save the file and saves the file to the selected location.
Returns path of the saved file or null if operation was cancelled. Throws exception on error.
Implementation
static Future<String?> saveFile({SaveFileDialogParams? params}) {
return _channel.invokeMethod('saveFile', params?.toJson());
}