getOpenPath method

Future<String> getOpenPath()

Implementation

Future<String> getOpenPath() async {
  return switch(this){
    NetWorkFileX(:final url) => url,
    LocalFileFileX(:final file) => file.path,
    LocalPathFileX(:final path) => path,
  };
}