getByIndex static method
Implementation
static XtzAddrPrefixes getByIndex(int index) {
if (index >= 0 && index < values.length) {
return values[index];
}
throw MessageException('Index out of bounds', details: {"index": index});
}
static XtzAddrPrefixes getByIndex(int index) {
if (index >= 0 && index < values.length) {
return values[index];
}
throw MessageException('Index out of bounds', details: {"index": index});
}