$_nth$1 method
dynamic
$_nth$1(
- dynamic n$1
override
Implementation
dc.dynamic $_nth$1(dc.dynamic n$1, ){
if((0>(n$1 as dc.num))){
throw dc.ArgumentError("Index out of bounds", );
}else{
}
final lcoc_core.SeqListMixin<E> o7603$1=this;
dc.dynamic xs$1;
if((o7603$1 is lcoc_core.ISeqable$iface)){
xs$1=((o7603$1 as lcoc_core.ISeqable$iface).$_seq$0());
}else{
xs$1=((lcoc_core.ISeqable.extensions(o7603$1, ) as lcoc_core.ISeqable$ext).$_seq$0(o7603$1, ));
}
dc.int i$1=(n$1 as dc.int);
do {
if((null==xs$1)){
throw dc.ArgumentError("Index out of bounds", );
}
if((0==i$1)){
return lcoc_core.first(xs$1, );
}
xs$1=lcoc_core.next(xs$1, );
i$1=(i$1-1);
continue;
} while(true);
}