isCompleted property

bool get isCompleted

Returns true if the task is completed

Implementation

bool get isCompleted => completedByUser != null;