ReleasePackerProcessCommand.fromList constructor

ReleasePackerProcessCommand.fromList(
  1. List list, {
  2. String? stdoutFilePath,
  3. String? stderrFilePath,
})

Implementation

factory ReleasePackerProcessCommand.fromList(List list,
    {String? stdoutFilePath, String? stderrFilePath}) {
  var listStr = list.map((e) => '$e').toList();
  var command = listStr.removeAt(0);
  return ReleasePackerProcessCommand(
      command, listStr, stdoutFilePath, stderrFilePath);
}