getName method

String getName(
  1. int index
)

Gets the name of the entry at the specified index.

Throws an AskarEntryListException if the name retrieval fails.

Implementation

String getName(int index) {
  try {
    return askarEntryListGetName(this, index).getValueOrException();
  } catch (e) {
    throw AskarEntryListException('Failed to get name: $e');
  }
}