We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
getContent
getContentAsStrng
1 parent b11fc2e commit 1816edfCopy full SHA for 1816edf
1 file changed
lib/src/saf/document_file.dart
@@ -126,11 +126,10 @@ class DocumentFile {
126
Future<DocumentFile?> copy(Uri destination) => saf.copy(uri, destination);
127
128
/// {@macro sharedstorage.saf.getDocumentContent}
129
- Future<Uint8List?> getContent(Uri destination) => saf.getDocumentContent(uri);
+ Future<Uint8List?> getContent() => saf.getDocumentContent(uri);
130
131
/// {@macro sharedstorage.saf.getContentAsString}
132
- Future<String?> getContentAsString(Uri destination) =>
133
- saf.getDocumentContentAsString(uri);
+ Future<String?> getContentAsString() => saf.getDocumentContentAsString(uri);
134
135
/// {@macro sharedstorage.saf.createDirectory}
136
Future<DocumentFile?> createDirectory(String displayName) =>
0 commit comments