exists function

Future<bool?> exists(
  1. Uri uri
)

Equivalent to DocumentFile.exists.

Verify wheter or not a given uri exists.

Refer to details.

Implementation

Future<bool?> exists(Uri uri) async => kDocumentFileChannel
    .invokeMethod<bool>('exists', <String, String>{'uri': '$uri'});