smartComparer static method

num smartComparer(
  1. LayoutVertex m,
  2. LayoutVertex n
)

This static function is used to compare the Part#text values of the #nodes of the argument LayoutVertexes. If the text ends in a number, the values are compared as numbers rather than lexicographically. Naturally this comparison is significantly slower than LayoutVertex.standardComparer.

Implementation

static _i2.num smartComparer(
  _i3.LayoutVertex m,
  _i3.LayoutVertex n,
) =>
    _i4.callMethod(
      _declaredLayoutVertex,
      'smartComparer',
      [
        m,
        n,
      ],
    );