TreeItem.$2 constructor

TreeItem.$2(
  1. Object label, [
  2. TreeItemCollapsibleState? collapsibleState
])

Implementation

factory TreeItem.$2(
  _i2.Object label, [
  _i3.TreeItemCollapsibleState? collapsibleState,
]) =>
    _i5.callConstructor(
      _declaredTreeItem,
      [
        label,
        collapsibleState?.name ?? _i6.undefined,
      ],
    );