byIndex method
Retrieve the Solana address at the specified index.
Implementation
SolAddress? byIndex(index) {
for (final keySegment in _keySegments) {
if (index < keySegment.length) {
return keySegment[index];
} else {
index -= keySegment.length;
}
}
return null;
}