parseBool static method
Implementation
static bool parseBool(source) {
if (source == null) {
return false;
}
if (source is bool) {
return source;
}
return source == "true";
}
static bool parseBool(source) {
if (source == null) {
return false;
}
if (source is bool) {
return source;
}
return source == "true";
}