retrieveValueByFieldName method
Implementation
dynamic retrieveValueByFieldName(String name) {
final field =
fields.firstWhereOrNull((element) => element.variable.name == name);
if (field == null) {
Logger.printError('field is null');
return null;
}
return Variable.getData(field.variable);
}