RestAction constructor
Example for a RestAction (The kill function here returns a RestAction). There are multiple ways of using it. The first is, just to execute it (only Possible inside of Strait content):
Entity.Selected().kill().queue();
You can also use the queue function on a List, so the contents are written inside it:
List<Widget> widget = [];
Entity.Selected().kill().queue(cont);
Because the RestAction has the Widget as superclass, you can also use it like a normal widget, for example:
For.of([
Entity.Selected().kill(),
...
]);
Creation Example
RestAction([], Kill(...))
Implementation
///Creation Example
///```dart
///RestAction([], Kill(...))
///```
RestAction(this.writable, this._rest) {
if (RestAction.autoQueue) queue();
}