List<UserModel> users = (json.decode(response.body) as List) .map((data) => UserModel.fromJson(data)) .toList();