isChild property

  1. @override
bool get isChild
override

Whether this job was adopted by a parent — through JobContext.run, JobContext.runAll or JobContext.each.

A child the parent turned away — it was already giving up, or a rule of its domain refused the start — is one too: its level is its parent's plus one, and it never ran.

Implementation

@override
bool get isChild => _level > 0;