ReleasePackerWindowsSubsystemCommand.from constructor
ReleasePackerWindowsSubsystemCommand.from(
- Object command
Implementation
factory ReleasePackerWindowsSubsystemCommand.from(Object command) {
if (command is String) {
var list = ReleasePackerCommand.parseInlineCommand(command);
return ReleasePackerWindowsSubsystemCommand.fromList(list);
} else if (command is List) {
return ReleasePackerWindowsSubsystemCommand.fromList(command);
} else {
throw ArgumentError("Unknown command type: $command");
}
}