getAllNames static method

List<String> getAllNames()

Returns list of all names.

Implementation

static List<String> getAllNames() {
  return states.values.toList();
}