bool containsIgnoreCase(String? str) { if (str == null) { return false; } return this.toLowerCase().contains(str.toLowerCase()); }