queue method

void queue([
  1. List<Widget>? writable
])

Execute this method to add this to the WidgetList (can use default list or as parameter given list) This method can only be executed once, if it is executed multiple times you will get an Error. You can read out if it is already executed in the boolean Called Example for a queue method:

Entity.Selected().kill().queue();

Example for queue method with parameter

List<Widget> widget = [];
Entity.Selected().kill().queue(cont);

Implementation

///Example for a queue method:
///```dart
///Entity.Selected().kill().queue();
///```

///Example for queue method with parameter
///```dart
///List<Widget> widget = [];
///Entity.Selected().kill().queue(cont);
///```

void queue([List<Widget>? writable]) {
  if (called) {
    throw ('Rest action is already executed, cant execute it again');
  }
  called = true;
  (writable ?? writable ?? StraitWidget.builder.writable).add(this);
}