@override Future<bool?> isDirectory(String url) async { return await methodChannel .invokeMethod<bool>('isDirectory', {'path': url.toString()}); }