getStates<T> static method

List<String> getStates<T>()

Get list of available states for a type.

Implementation

static List<String> getStates<T>() => _states[T] ?? [];