ashrink function
Implementation
dc.List ashrink(dc.dynamic a$1, dc.dynamic to$1, ){
final dc.List<dc.dynamic> a$PRIME_$1=(dc.List<dc.dynamic>.filled((to$1 as dc.int), null, ));
final dc.int n$8244_$AUTO_$1=(to$1 as dc.int);
dc.int i$1=0;
do {
if((i$1<n$8244_$AUTO_$1)){
final dc.dynamic v$8086_$AUTO_$1=((a$1 as dc.List)[i$1]);
a$PRIME_$1[i$1]=v$8086_$AUTO_$1;
i$1=(1+i$1);
continue;
}else{
}
break;
} while(true);
return a$PRIME_$1;
}