menu
flutter_sound
public/util/enum_helper.dart
EnumHelper
getByIndex<
T
> static method
getByIndex
dark_mode
light_mode
getByIndex<
T
>
static method
T
getByIndex
<
T
>(
List
<
T
>
values
,
int
index
)
Implementation
static
T getByIndex<T>(
List
<T> values,
int
index) {
return
values.elementAt(index -
1
); }
flutter_sound
enum_helper
EnumHelper
getByIndex<
T
> static method
EnumHelper class