as method
Generates a Execute Widget (execute as the entity)
entity.as().run(Say('hi')).queue()
Implementation
RestActionAble as({
List<Widget> children = const [],
String targetFilePath = 'objd',
String? targetFileName,
bool encapsulate = true,
}) =>
StraitWidget.builder.create(Execute(
children: children,
targetFilePath: targetFilePath,
targetFileName: targetFileName,
encapsulate: encapsulate,
).as(this));