tasks property

List<TaskInfo> get tasks

Array of TaskInfos representing the tasks running on this process.

Implementation

List<TaskInfo> get tasks => _wrapped.tasks.toDart
    .cast<$js.TaskInfo>()
    .map((e) => TaskInfo.fromJS(e))
    .toList();
set tasks (List<TaskInfo> v)

Implementation

set tasks(List<TaskInfo> v) {
  _wrapped.tasks = v.toJSArray((e) => e.toJS);
}