getByIndex static method

Cultures? getByIndex(
  1. int index
)

Получить язык по индексу

Implementation

static Cultures? getByIndex(int index) {
  if (index >= 0 && index < all.length) {
    return all[index];
  }
  return null;
}