Future<Directory> packageDirectory(String directoryPath) async { var mainDir = await packageMainDirectory; return mainDir.subDirectory(directoryPath); }