tryParseBool method
Implementation
bool? tryParseBool() {
  if (this.toLowerCase() == 'true') {
    return true;
  }
  if (this.toLowerCase() == 'false') {
    return false;
  }
  return null;
}bool? tryParseBool() {
  if (this.toLowerCase() == 'true') {
    return true;
  }
  if (this.toLowerCase() == 'false') {
    return false;
  }
  return null;
}