isTruthy property Null safety

bool isTruthy

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

Implementation

bool get isTruthy => true;