ReleasePacker.fromFilePath constructor

ReleasePacker.fromFilePath(
  1. String filePath, {
  2. Map<String, String>? properties,
  3. Directory? rootDirectory,
  4. bool allowPropertiesFromEnv = false,
})

Implementation

factory ReleasePacker.fromFilePath(
  String filePath, {
  Map<String, String>? properties,
  Directory? rootDirectory,
  bool allowPropertiesFromEnv = false,
}) {
  var file = _toFile(filePath, rootDirectory);
  return ReleasePacker.fromFile(file,
      properties: properties,
      rootDirectory: rootDirectory,
      allowPropertiesFromEnv: allowPropertiesFromEnv);
}