comparer property

num Function(TreeVertex, TreeVertex) get comparer

Gets or sets how the children should be sorted.

This inherited property is initialized in the TreeLayout#initializeTreeVertexValues pass.

Implementation

_i2.num Function(
  _i3.TreeVertex,
  _i3.TreeVertex,
) get comparer => (
      _i3.TreeVertex p0,
      _i3.TreeVertex p1,
    ) =>
        _i4.callMethod(
          _i4.getProperty(
            this,
            'comparer',
          ),
          r'call',
          [
            this,
            p0,
            p1,
          ],
        );
set comparer (num value(TreeVertex, TreeVertex))

Implementation

set comparer(
    _i2.num Function(
      _i3.TreeVertex,
      _i3.TreeVertex,
    ) value) {
  _i4.setProperty(
    this,
    'comparer',
    _i4.allowInterop(value),
  );
}