agar function
A Calculator.
Implementation
bool agar(dynamic firstValue,String operator,dynamic secondValue){
if(operator=="=") {
return firstValue == secondValue;
}
if(operator=="!=") {
return firstValue != secondValue;
}
if(operator==">") {
return firstValue > secondValue;
}
if(operator==">=") {
return firstValue >= secondValue;
}
if(operator=="<=") {
return firstValue <= secondValue;
}
if(operator=="<"){
return firstValue < secondValue;
}
return false;
}