DocumentTree class

From API level 30, app needs to ask for read or write permission for specefic directory. Use MediaStore.requestForAccess method to get read and write access by file picker. It will return DocumentTree if permission is granted

Constructors

DocumentTree({required String uriString, required List<Document> children})
DocumentTree.fromJson(dynamic data)
factory

Properties

children List<Document>
getter/setter pair
childrenUriList List<Uri>
Requested directory's children's uri. Can be empty if no file exists.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri Uri
Requested directory's uri
no setter
uriString String
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited