getInitialFile function
Returns a Future, which completes to one of the following:
- the initially stored link (possibly null), on successful invocation;
- a PlatformException, if the invocation failed in the platform plugin.
Implementation
Future<String?> getInitialFile() async {
final String? initialFile = await _mChannel.invokeMethod('getInitialFile');
if (initialFile == null) return null;
return Uri.parse(initialFile).path;
}