parseBool static method
Implementation
static bool parseBool(dynamic text) {
if (text.toString().compareTo("1") == 0 ||
text.toString().compareTo("true") == 0) {
return true;
}
return false;
}
static bool parseBool(dynamic text) {
if (text.toString().compareTo("1") == 0 ||
text.toString().compareTo("true") == 0) {
return true;
}
return false;
}