static Future<Directory?> get downloadsDirectory async { final String? path = await _channel.invokeMethod('getDownloadsDirectory'); if (path == null) { return null; } return Directory(path); }