slice property

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

Implementation

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

Implementation

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