getDoc method
Picks a document and returns its path as a String.
Must be implemented by the platform-specific class.
Implementation
@override
Future<File?> getDoc() async {
final version = await methodChannel.invokeMethod<List>('getDoc');
return version != null ? File(version.first) : null;
}