static List<User> listFromJsonArray(List<dynamic> json) { return List.generate(json.length, (i) => User.fromJson(json[i])); }