getAllUsers method

List<User> getAllUsers()

Get all users sorted by age

Implementation

List<User> getAllUsers() {
  return List.from(users);
}