toBool method
Parses a String into a bool.
Implementation
bool toBool() {
if (toLowerCase() == "true") {
return true;
}
return false;
}
Parses a String into a bool.
bool toBool() {
if (toLowerCase() == "true") {
return true;
}
return false;
}