comparer property
num Function(CircularVertex, CircularVertex)
get
comparer
Gets or sets the comparer which sorts the data when #sorting is set to CircularLayout.Ascending or CircularLayout.Descending.
The default function compares the Part#text values of the vertexes' LayoutVertex#nodes.
Implementation
_i2.num Function(
_i3.CircularVertex,
_i3.CircularVertex,
) get comparer => (
_i3.CircularVertex p0,
_i3.CircularVertex p1,
) =>
_i4.callMethod(
_i4.getProperty(
this,
'comparer',
),
r'call',
[
this,
p0,
p1,
],
);
set
comparer
(num value(CircularVertex, CircularVertex))
Implementation
set comparer(
_i2.num Function(
_i3.CircularVertex,
_i3.CircularVertex,
) value) {
_i4.setProperty(
this,
'comparer',
_i4.allowInterop(value),
);
}