stat method

  1. @override
Future<SafDocumentFile?> stat(
  1. String uri,
  2. bool? isDir, {
  3. bool? throws,
})
override

Implementation

@override
Future<SafDocumentFile?> stat(String uri, bool? isDir, {bool? throws}) async {
  final map = await methodChannel.invokeMapMethod<String, dynamic>('stat', {
    'uri': uri,
    'isDir': isDir,
    'throws': throws,
  });
  if (map == null) {
    return null;
  }
  return SafDocumentFile.fromMap(map);
}