isTrue property

bool get isTrue

Checks if the boolean value is true.

Implementation

bool get isTrue => this != null && this!;