aresize function
List
aresize(
- dynamic a$1,
- dynamic from$1,
- dynamic to$1,
- dynamic pad$1,
)
Implementation
dc.List aresize(dc.dynamic a$1, dc.dynamic from$1, dc.dynamic to$1, dc.dynamic pad$1, ){
final dc.List<dc.dynamic> a$PRIME_$1=(dc.List.filled((to$1 as dc.int), pad$1, ));
final dc.int n$8244_$AUTO_$1=(from$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;
}