$_nth$1 method

dynamic $_nth$1(
  1. dynamic n$1
)
override

Implementation

dc.dynamic $_nth$1(dc.dynamic n$1, ){
final dc.int n$2=(n$1 as dc.int);
if((n$2<0)){
throw dc.ArgumentError("Index out of bounds", );
}
final dc.int i$1=(n$2+i);
if((i$1<string.length)){
return (string[i$1]);
}
throw dc.ArgumentError("Index out of bounds", );
}