storeResult method
stores the result or success of a command
in a nbt path
in your entity
Implementation
Group storeResult(
Widget w, {
required String path,
String datatype = 'double',
double scale = 1,
bool useSuccess = false,
}) {
assert(path.isNotEmpty);
return Execute.internal_store_command(
'entity $this $path $datatype $scale',
w,
useSuccess,
);
}