execute method
Implementation
@override
Future<bool?> execute(
String caller, String propertyOrFunction, List<dynamic> arguments) async {
var function = propertyOrFunction.toLowerCase().trim();
switch (function) {
// case "export":
// String format = toStr(elementAt(arguments, 0))?.toLowerCase() ?? "html";
// bool history = toBool(elementAt(arguments, 1)) ?? false;
// Stash().export(format: format, withHistory: history);
// return true;
// case "clear":
// Stash().delete();
// return true;
case 'start':
case 'fire':
Data data = await Stash.getStashData(System.domain ?? "");
super.onSuccess(data);
return true;
}
return super.execute(caller, propertyOrFunction, arguments);
}