How do i test a expression in a string and evaluate it:
String expression = "'Cat' != 'Dog'";
I want that something like that:
if(expression) // return it logic result
like this:
if('Dog' != 'Doc'){
return true;
}else{
return false;
}
That in flutter, thanks in advance.