getValueList method
dynamic
getValueList(
- dynamic computeValue
Implementation
getValueList(computeValue) {
myLogAll('getValueList');
List<Map> result = [];
Characters charList = computeValue.toString().characters;
String tmp = '';
int charListLength = charList.length;
for (int l = 0; l < charListLength; l++) {
String charL = charList.elementAt(l);
if (_operatorSet.contains(charL)) {
result.add({gType: gValue, gValue: tmp});
result.add({gType: gOperator, gValue: charL});
tmp = '';
} else {
tmp = '$tmp$charL';
}
}
result.add({gType: gValue, gValue: tmp});
return result;
}