getInitialFile method

  1. @override
Future<String?> getInitialFile()
override

Returns the path of the file that opened the app, if any.

Implementation

@override
Future<String?> getInitialFile() async {
  final version = await initialFileChannel.invokeMethod<String>(
    'getInitialFile',
  );
  return version;
}