1. Dart
2. dart:core
3. bool
4. toString method

##### bool class

1. Constructors
2. fromEnvironment
3. hasEnvironment
4. Properties
5. hashCode
6. runtimeType
7. Methods
8. noSuchMethod
9. toString
10. Operators
11. operator &
12. operator ==
13. operator ^
14. operator |

description

# toString method Null safety

String toString ()
override

Returns either `"true"` for `true` and `"false"` for `false`.

## Implementation

    String toString() {
      return this ? "true" : "false";
    }