isTruthy property

bool get isTruthy

Whether the value counts as true in an @if statement and other contexts.

Implementation

bool get isTruthy => true;