getName method
- int index
Gets the name of the key entry at the specified index
.
Throws an AskarKeyEntryListException if the name retrieval fails.
Implementation
String getName(int index) {
try {
return askarKeyEntryListGetName(this, index).getValueOrException();
} catch (e) {
throw AskarKeyEntryListException('Failed to get name: $e');
}
}