string compare ignoreCase
bool compareIgnoreCase(String other,{bool ignoreCase = true}){ if(ignoreCase){ return toLowerCase().compareTo(other.toLowerCase())==0; } return compareTo(other)==0; }