asatStrait method

RestActionAble asatStrait({
  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 and at the entity)

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

Implementation

RestActionAble asatStrait({
  required Function(List<Widget>) run,
  String targetFilePath = 'objd',
  String? targetFileName,
  bool encapsulate = true,
}) =>
    StraitWidget.builder.create(Execute.strait(
      run: run,
      targetFilePath: targetFilePath,
      targetFileName: targetFileName,
      encapsulate: encapsulate,
    ).asat(this));