getNth method
Implementation
String getNth(number, first, end) {
number = '$number';
var finalNumber = "";
for (var i = first; i <= end; i++) {
finalNumber = finalNumber + number[i];
}
return finalNumber;
}
String getNth(number, first, end) {
number = '$number';
var finalNumber = "";
for (var i = first; i <= end; i++) {
finalNumber = finalNumber + number[i];
}
return finalNumber;
}