toSorted property

List<T> Function([num (T, T)?]) get toSorted

Implementation

_i2.List<T> Function(
    [_i2.num Function(
      T,
      T,
    )?]) get toSorted => (
        [_i2.num Function(
          T,
          T,
        )? p0]) =>
    ((_i6.callMethod(
      _i6.getProperty(
        this,
        'toSorted',
      ),
      r'call',
      [
        this,
        p0 == null ? _i5.undefined : _i6.allowInterop(p0),
      ],
    )) as _i2.List)
        .cast();
set toSorted (List<T> value([num (T, T)?]))

Implementation

set toSorted(
    _i2.List<T> Function(
            [_i2.num Function(
              T,
              T,
            )?])
        value) {
  _i6.setProperty(
    this,
    'toSorted',
    _i6.allowInterop(value),
  );
}