execStrait method

RestActionAble execStrait({
  1. required dynamic run(
    1. List<Widget>
    ),
  2. String targetFilePath = 'objd',
  3. String? targetFileName,
  4. bool encapsulate = true,
})

Generates a Execute Widget strait (execute as the entity)

entity.execStrait(run: (List<Widget> cont) {
...
}).queue()

short form for entity.executeStrait()

Implementation

RestActionAble execStrait({
  required Function(List<Widget>) run,
  String targetFilePath = 'objd',
  String? targetFileName,
  bool encapsulate = true,
}) =>
    asStrait(
      run: run,
      targetFilePath: targetFilePath,
      targetFileName: targetFileName,
      encapsulate: encapsulate,
    );