getAllDocuments method
Retrieves paths of all document files on device. Returns List< String> of absolute file paths. Example:
List<String> docs = await MethodChannelMediaManager().getAllDocuments();
Implementation
@override
Future<List<String>> getAllDocuments() async {
final List<dynamic> result = await methodChannel.invokeMethod(
'getAllDocuments',
);
return result.cast<String>();
}