isEmptyDirectory method

  1. @override
Future<bool> isEmptyDirectory(
  1. String url, {
  2. bool scoped = true,
})
override

Implementation

@override
Future<bool> isEmptyDirectory(String url, {bool scoped = true}) async {
  return await methodChannel.invokeMethod<bool>(
          'isEmptyDirectory', {'url': url.toString(), 'scoped': scoped}) ??
      false;
}