$_invoke$4 method

dynamic $_invoke$4(
  1. dynamic n$3,
  2. dynamic step$2,
  3. dynamic pad$1,
  4. dynamic coll$3,
)
override

Implementation

dc.dynamic $_invoke$4(dc.dynamic n$3, dc.dynamic step$2, dc.dynamic pad$1, dc.dynamic coll$3, ){
return lcoc_core.LazySeq(null, ((){
final dc.dynamic o7603$2=coll$3;
late final dc.dynamic temp$7495_$AUTO_$2;
if((o7603$2 is lcoc_core.ISeqable$iface)){
temp$7495_$AUTO_$2=((o7603$2 as lcoc_core.ISeqable$iface).$_seq$0());
}else{
temp$7495_$AUTO_$2=((lcoc_core.ISeqable.extensions(o7603$2, ) as lcoc_core.ISeqable$ext).$_seq$0(o7603$2, ));
}
if(((temp$7495_$AUTO_$2!=false)&&(temp$7495_$AUTO_$2!=null))){
final dc.dynamic s$2=temp$7495_$AUTO_$2;
final dc.dynamic p$2=(lcoc_core.doall.$_invoke$1((lcoc_core.take.$_invoke$2(n$3, s$2, )), ));
final dc.dynamic coll7677$2=p$2;
late final dc.int cast$2;
if((coll7677$2 is lcoc_core.ICounted$iface)){
cast$2=(((coll7677$2 as lcoc_core.ICounted$iface).$_count$0()) as dc.int);
}else{
cast$2=(((lcoc_core.ICounted.extensions(coll7677$2, ) as lcoc_core.ICounted$ext).$_count$0(coll7677$2, )) as dc.int);
}
final dc.bool $2=(n$3==cast$2);
if($2){
return lcoc_core.cons(p$2, (lcoc_core.partition.$_invoke$4(n$3, step$2, pad$1, lcoc_core.nthrest(s$2, step$2, ), )), );
}
return (lcoc_core.list.$_invoke$1((lcoc_core.take.$_invoke$2(n$3, (lcoc_core.concat.$_invoke$2(p$2, pad$1, )), )), ));
}
return null;
} as dc.dynamic?), null, -1, );
}