Dart has a formal boolean type, named bool. There are only two objects of type bool: true and false. The only value that is true is the boolean value true . Unlike JavaScript, other values such as 1 or non-null object are not treated as true.7 Şub 2012