packageFile method

Future<File> packageFile(
  1. String filePath
)

Implementation

Future<File> packageFile(String filePath) async {
  var mainDir = await packageMainDirectory;
  return mainDir.subFile(filePath);
}