Skip to content

Commit

Permalink
(#107) Remove unused args from getContent and getContentAsStrng m…
Browse files Browse the repository at this point in the history
…ethod
  • Loading branch information
alexrintt committed Nov 7, 2022
1 parent b11fc2e commit 1816edf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/src/saf/document_file.dart
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,10 @@ class DocumentFile {
Future<DocumentFile?> copy(Uri destination) => saf.copy(uri, destination);

/// {@macro sharedstorage.saf.getDocumentContent}
Future<Uint8List?> getContent(Uri destination) => saf.getDocumentContent(uri);
Future<Uint8List?> getContent() => saf.getDocumentContent(uri);

/// {@macro sharedstorage.saf.getContentAsString}
Future<String?> getContentAsString(Uri destination) =>
saf.getDocumentContentAsString(uri);
Future<String?> getContentAsString() => saf.getDocumentContentAsString(uri);

/// {@macro sharedstorage.saf.createDirectory}
Future<DocumentFile?> createDirectory(String displayName) =>
Expand Down

0 comments on commit 1816edf

Please sign in to comment.