TreeItemLabel constructor

TreeItemLabel({
  1. String? label,
  2. List<(num, num)>? highlights,
})

Implementation

factory TreeItemLabel({
  _i2.String? label,
  _i2.List<
          (
            _i2.num,
            _i2.num,
          )>?
      highlights,
}) =>
    TreeItemLabel._(
      label: label,
      highlights: highlights
          ?.map((i) => [
                i.$1,
                i.$2,
              ])
          .toList(),
    );