isFinished property

bool get isFinished

Implementation

bool get isFinished {
  return state == TaskState.complete || state == TaskState.cancel;
}