isDone method

bool isDone()

is this task already done?

Implementation

bool isDone() {
  var tmp0 = 0;
  tmp0 = _box.borrow();
  final tmp1 = _api._taskIsDone(
    tmp0,
  );
  final tmp3 = tmp1;
  final tmp2 = tmp3 > 0;
  return tmp2;
}